Python: Programming, Automation and Data Analysis
Exit

Lesson 10 of 14 · Python at work

HTTP requests and APIs: urllib, requests, JSON and a small API (introducing FastAPI)

1 h 15 min Python 3.12 (Debian, git, pip)

Objective

Make your programs talk to the rest of the world: fetch exchange rates, query a carrier's API, send an order to a payment service, then expose the MasterLinux shop's products yourself as a JSON API. You will also learn to handle what always happens on a network: slowness, errors and unexpected responses.

This lesson is part of the full course

Unlock Python: Programming, Automation and Data Analysis to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.