Skip to content

This repository contains a Jupyter notebook and slides for the SI Carpentries Brown Bag talk on 25 July 2019. This material covers the harvesting of data via web APIs with the Python Requests library, and uses data supplied by the National Park Service API for an example dataset.

Notifications You must be signed in to change notification settings

amdevine/cbb-python-requests

Repository files navigation

Harvesting data from website APIs with Python Requests

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.

Files

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.

About

This repository contains a Jupyter notebook and slides for the SI Carpentries Brown Bag talk on 25 July 2019. This material covers the harvesting of data via web APIs with the Python Requests library, and uses data supplied by the National Park Service API for an example dataset.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published