Lesson 12 of 145 min

Calling an API

A program asks an API for data with a request; the answer comes back with a status code and JSON, which Python reads as dicts and lists, and a key that proves who is asking stays outside the code.

After this lesson you can send a request, read the JSON that comes back, and keep a key out of the code.

Loading the video…

Refreshers

An idea from an earlier lesson shows up here when the video leans on it.

You use this lesson in Lab 5: On your own computer, after Git and GitHub.

Facts last checked on .