Pagination. DELUGE. API. No "While" looping functionality

Pagination. DELUGE. API. No "While" looping functionality

Need to import records from API.  Maks records per run is 200, but we have more than 200 records to import, so we need to use pagination.
Need to run enought times to get all the records.
ZSresponse=getUrl(" https://subscriptions.zoho.com/api/v1/subscriptions?page=1&per_page=200&authtoken= x &organization_id= y &filter_by=SubscriptionStatus.LIVE").get("subscriptions").toJSONList();
So, need to iterated the "page" parameter until I have all the records.
My API returns the paramter  - "has_more_page": true, - so I can check on this, but there are now WHILE looping function in DELUGE!

How can i write deluge code so I am sure I run the API correct number of times(pages) in order to get all the records?!

Thanks

Larry