I'm connecting to an API which have a 500 row limit. There are separate columns in the returned json that states how many rows there are in the current search, and how many there are in total (see screenshot below)
I have read through posts like this:
But cannot find a solution on how to implement the suggested solutions in the post into my scenario.
I can set the limit and offset in the API URL with limit=500&offset=500 (500 would be for the second loop) manually, and it would give me the correct results. But I obviusly want it to loop through the search until the total rows avaliable limit has been reached..
Any help would be appreciated.