Week 4: Learn how to extract data from APIs
Learning goals
- Send HTTP requests to a web API, and retrieve JSON responses
- Use parameters to modify the results of an API call
- Iterate over multiple pages of JSON responses
- Extract and store results of an API request in lists of dictionaries, and files
Lecture
Laptop required!
- In-class tutorial ( view slides, download tutorial, view tutorial in Google Colab)
Coaching session
- Please check out the project page.
After the lecture and coaching session
- Complete the exercises in the tutorial of this week
- Please work through challenges #3.1-#3.3 in “Fields of Gold”.