code: def _get(self, *args, **kwargs):
          
          prev_data = kwargs.pop('prev_data', [])
          resp = self._request('get', *args, **kwargs)
          resp_content = resp._content
          if not resp_content:
              # No content so its obviously not paginated
              return resp
  
          # if resp._content is a bytes object, decode it so we can loads it as json
          if isinstance(resp_content, bytes):
              resp_content = resp_content.decode('utf-8')
  
          # Load the json so we can use the data as python objects
          content = json.loads(resp_content)
          if 'pagination' not in content:
              # Result is not paginated
              return resp
  
          page_info = content['pagination']
          if not page_info['next_uri']:
              # next_uri is None when the cursor has been iterated to the last element
              content['data'].extend(prev_data)
              # If resp._content was is a bytes object, only set it as a bytes object
              if isinstance(resp_content, bytes):
                  resp._content = json.dumps(content).decode('utf-8')
              else:
                  resp._content = json.dumps(content)
              return resp
  
          prev_data.extend(content['data'])
          next_page_id = page_info['next_uri'].split('=')[-1]
          kwargs.update({
              'prev_data': prev_data,
              'params': {'starting_after': next_page_id}
          })
          return self._get(*args, **kwargs)
docs: Get requests can be paginated, ensure we iterate through all the pages.