Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-call-api-pagination

A simple example of how to request paginated data from an API using Python.

Background

A friend of mine had a task that required them to retrieve paginated data from an API with Python, but they had never done anything like that before and were having trouble. I had also never retrieved paginated data from an API before, so this seemed like a good opportunity to both learn something and help out a friend.

Windows Instructions:

  1. Make a local clone of this repository via your preferred method.

  2. In the directory of your local clone, create and activate a virtual environment and install dependencies:

    python -m venv venv
    venv\Scripts\activate.bat
    pip install -r requirements.txt
    
  3. Run the program:

    python apiPaginate.py
    

About

A simple example of how to request paginated data from an API using Python.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages