code: def _request(self, method, *relative_path_parts, **kwargs):
      
      uri = self._create_api_uri(*relative_path_parts)
      response = get(uri, params=self._get_params(**kwargs))
      self.is_initial = False
      self.before_cursor = response.headers.get('cb-before', None)
      self.after_cursor = response.headers.get('cb-after', None)
      return self._handle_response(response).json()
docs: Sends an HTTP request to the REST API and receives the requested data.
      Additionally sets up pagination cursors.
  
      :param str method: HTTP method name
      :param relative_path_parts: the relative paths for the request URI
      :param kwargs: argument keywords
      :returns: requested data
      :raises APIError: for non-2xx responses