code: def get_comments(self, resource, before=None):
          params = dict(apikey=self.api_key, resource=resource, before=before)
          try:
              response = requests.get(self.base + 'comments/get', params=params, proxies=self.proxies)
          except requests.RequestException as e:
              return dict(error=e.message)
          return _return_response_and_status_code(response)