Pagination in an external API
Trying to pull a contact list from Productive (productive.io) and the request pulls 30 results per page.Â
I have the for loop to pull everything off the page (and it's working), but I'm not sure how to move between the pages (and pull the next set of results). In the meta information I can see the current_page and the total_pages but I wanted to see if anyone had suggestions on the best way of tackling this.Â
Thanks!
Other
5 replies