Using paginated APIs with Python (four ways!)

preview_player
Показать описание
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!

Рекомендации по теме
Комментарии
Автор

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.

SudarshanGR
Автор

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."

jenniferkirschnickduffy
Автор

Thank you for such a clear tutorial and showing different options with pros and cons. Well done and thank you!

karengutzman
Автор

This is great and perfectly solved my problem. Thank you!

kweluokafor
Автор

I wish I could find this tutorial earlier!
Clear explanation and did solve my problem. Very helpful and practical 👍Thank you :)

chiachishen
Автор

Thank you so much for the tutorial Jon. You had saved my day :D

cvas-d
Автор

Excellent video, so clear the way you explaind. Thank you

alandiaz
Автор

Great video really useful and helped a lot with my paginated APIs for work.. thanks 👍

SprintsNClimbs
Автор

You Sir, Are A Legend. Thanks a Ton!!

ayushsrivastava
Автор

Great video!! Tnx for sharing, Jonathan!!

rafaelgdalmoro
Автор

Bro, incredible tutorial. There's no many videos about this.

ThexRasTafari
Автор

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 ?

dakshsahni