def METHOD_NAME(self, result):
    for data in result["items"]:
        yield data
    while True:
        if "nextLink" in result:
            url = result["nextLink"]
            self.scraper.info("API GET next page: {}".format(url))
            result = self.get_relurl(url)
            if not result["items"]:
                return
            for data in result["items"]:
                yield data
        else:
            return