Forum Discussion
API calls with Pagination
Using the code below I am able to access data via an API and pull the first 100 records. My problem and my question is, how can I get this code to iterate through a series of offsets so that I can pull 2000 records instead of just 100?
let
Source = Json.Document(Web.Contents("https://api.recruiterbox.com/v2/candidates?limit=100&offset=0")),
objects = Source[objects],
expandrecords = Table.FromRecords(objects),
Hi CraigSchulz,
It's more related to the rest api you use. I recommend you to read more documentation about the api about how to query more rows of records like https://api.recruiterbox.com/v2/candidates?limit=2000&offset=0.
Regards,
Jimmy Tao
2 Replies
- v-yuta-msftCommunity Support
Hi CraigSchulz,
It's more related to the rest api you use. I recommend you to read more documentation about the api about how to query more rows of records like https://api.recruiterbox.com/v2/candidates?limit=2000&offset=0.
Regards,
Jimmy Tao
- CraigSchulzHelper II
Okay, thanks for the input.