Hello!
I'm making an api call to get a list of users. The api only returns 100 users at a time (we have approx. 1k users). To get the next group of users, I need to add the last user id provided in the url of the next call.
- For example
Initial url> [url]+[authorization_key]
Results > User ids: 001, 002, 003 - Then, the next url would have to be: [url]+[authorization_key]+"003"
Results > User ids: 003, 004, 005 - The next query would need to be: [url]+[authorization_key]+"005", and so on.
And I would need to repeat this until the end of the list of users (the amount is dynamic and can change every month). Any idea how to structure this solution? Ideally I would need a single database with all users at the end of the process.
Thanks!