def METHOD_NAME(self, endpoint, params):
    params["offset"] = 0
    params["limit"] = self.per_page
    while True:
        data = self._api_request(endpoint, params)
        results = data["results"]
        yield from results
        if len(results) < self.per_page:
            return
        params["offset"] += len(results)