This repository contains slides (+pdf) and a detailed Jupyter notebook (+pdf) that demonstrate retrieving data from a REST API service using the Python Requests library. Data from the National Park Service Data API are used as an example dataset.
This talk was presented at the Smithsonian Institution Carpentries Brown Bag on 25 July 2019.
harvest-data-apis-python-requests.ipynb
harvest-data-apis-python-requests.pdf
These files contain a detailed description of the process for harvesting data using Requests.
If there are problems rendering the Jupyter Notebook via GitHub, it can be viewed here via nbviewer: https://nbviewer.jupyter.org/github/amdevine/cbb-python-requests/blob/master/harvest-data-apis-python-requests.ipynb
python-requests-slides.ipynb
python-requests-slides.pdf
These files contain an abridged version of harvest-data-apis-python-requests that was presented as a slide show.
To view python-requests-slides.ipynb as a reveal.js slideshow, please install RISE. The slideshow should auto-launch when the notebook is opened.