Skip to content

Instantly share code, notes, and snippets.

@jsoma
Created June 27, 2021 14:01
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jsoma/31381299e075e45a4b0520663cca7498 to your computer and use it in GitHub Desktop.
Save jsoma/31381299e075e45a4b0520663cca7498 to your computer and use it in GitHub Desktop.
Paginated APIs with Python: Four ways!
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Valeron31
Copy link

Valeron31 commented Nov 8, 2021

Hello, I am trying to write a function to make API call and collect data (i.e the description for each job and it's corresponding number of job listing). It's an assignment from IBM Data Analysts. The url is "https://cf-courses-data.s3.us.cloud-object-storage.appdomain.cloud/IBM-DA0321EN-SkillsNetwork/labs/module%201/datasets/githubposting.json"

@dvu4
Copy link

dvu4 commented Jul 6, 2022

Is there anyway to paginate through the API without limit and offset ? But we know that there is only 20 items will be shown in each page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment