Using paginated APIs with Python (four ways!)
Ғылым және технология
Sometimes APIs don't give you all of the results you want at once, and you need to make multiple requests to get everything. Let's make it work in Python!
Code is here: gist.github.com/jsoma/3138129...
Пікірлер: 20
The birds chirping in the background made this video relaxing to watch. One more method to add to this: if the API returns total number of items(count in this example), then loop until all items are fetched. May need to check if the last page has the same count as the first, if not more items have been added since we issued the first request.
Thank you so much for this video - just what I was looking for. The way you go through the steps is so easy to understand, especially how things are working "in the background."
Thank you for such a clear tutorial and showing different options with pros and cons. Well done and thank you!
I wish I could find this tutorial earlier! Clear explanation and did solve my problem. Very helpful and practical 👍Thank you :)
@amansinha7632
Жыл бұрын
Exactly!
Thank you so much for the tutorial Jon. You had saved my day :D
This is great and perfectly solved my problem. Thank you!
Excellent video, so clear the way you explaind. Thank you
Great video really useful and helped a lot with my paginated APIs for work.. thanks 👍
Great video!! Tnx for sharing, Jonathan!!
Bro, incredible tutorial. There's no many videos about this.
@jsoma
2 жыл бұрын
Glad you liked it!
You Sir, Are A Legend. Thanks a Ton!!
Nice I found this piece.
Very nice!! Thank you!!
very good Thanks for sharing.
Good stuff!
You are awesome.
God bless you
I need to make 13000 calls to download all the data. How do I run a loop of 100 calls to download the data... each call has 1000 records .... If I run more than 100 calls, the request times out. Can you help ?