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

  • @SudarshanGR
    @SudarshanGR2 жыл бұрын

    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.

  • @jenniferkirschnickduffy2098
    @jenniferkirschnickduffy20988 ай бұрын

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

  • @karengutzman8922
    @karengutzman89222 жыл бұрын

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

  • @chiachishen
    @chiachishen Жыл бұрын

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

  • @amansinha7632

    @amansinha7632

    Жыл бұрын

    Exactly!

  • @cvas-d
    @cvas-d2 жыл бұрын

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

  • @kweluokafor3139
    @kweluokafor31397 ай бұрын

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

  • @alandiaz1054
    @alandiaz10542 жыл бұрын

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

  • @SprintsNClimbs
    @SprintsNClimbs2 жыл бұрын

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

  • @rafaelgdalmoro
    @rafaelgdalmoro2 жыл бұрын

    Great video!! Tnx for sharing, Jonathan!!

  • @ThexRasTafari
    @ThexRasTafari2 жыл бұрын

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

  • @jsoma

    @jsoma

    2 жыл бұрын

    Glad you liked it!

  • @ayushsrivastava6494
    @ayushsrivastava64942 жыл бұрын

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

  • @onyekachinelson6999
    @onyekachinelson69992 жыл бұрын

    Nice I found this piece.

  • @ramonpacheco42
    @ramonpacheco422 жыл бұрын

    Very nice!! Thank you!!

  • @googlecloud6366
    @googlecloud63662 жыл бұрын

    very good Thanks for sharing.

  • @jackverran6927
    @jackverran69272 жыл бұрын

    Good stuff!

  • @minakshimathpal8698
    @minakshimathpal86984 ай бұрын

    You are awesome.

  • @ademolaoladapo9024
    @ademolaoladapo90242 жыл бұрын

    God bless you

  • @dakshsahni7479
    @dakshsahni74792 жыл бұрын

    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 ?

Келесі