In some situations an API will return results in a paging format. Since the results may return thousands of objects the API has a feature to return a certain number of results per page and a way to return the next page until there are no results.
Currently to integrate this requires a use of an iterator with a fancy page counter to keep track and aggregate results in one large object.
Having a module be able to specify max results or just be able to internally perform the paging without any extra operations would be ideal.
Created by Tereza Klobouckova
·