From the course: Programming Foundations: APIs and Web Services

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Challenge: Calling a public API

Challenge: Calling a public API

(upbeat music) - Welcome to your first hands-on challenge. We've talked about APIs and web services, and now it's time to roll up your sleeves and put that knowledge into practice. In this challenge, you will create a simple Python script that calls a public API and displays the data in your console. Don't worry if this sounds complex. I'll guide you step by step. Throughout this course, we'll use GitHub Codespaces, a cloud-hosted development environment. To access Codespaces, simply navigate to our Courses GitHub repository. Upon arrival, you'll be greeted with a README file containing essential information and various exercise files. Get familiarized by simply clicking on the file name associated with a given lesson. If you are on the main page of our GitHub repo, there are two ways to access Codespaces. Look for this code button on the right. If you're on this local tab, make sure to click on the Codespaces tab. From here, you can either start a new Codespace on the main branch, or…

Contents