π Write code that talks to the internet
Weather apps, media archives, GitHub, and AI assistants communicate with external services through APIs. In this course, you will learn to read documentation, send requests, unpack JSON, protect API keys, and handle real network failures.
Across 5 practical lessons, you will build:
- a Chuck Norris facts generator β your first GET requests, HTTP statuses, and JSON;
- a travel weather station β a chain of geocoding, current weather, and forecast requests;
- a NASA observation center β APOD, media search, image downloads, and an asteroid report;
- a GitHub Issue Control Center β pagination, authorization, GET, POST, and PATCH with explicit confirmation;
- Gemini Study Desk β AI explanations, validated study cards, and a stateful conversation.
Tools
requests Β· python-dotenv Β· google-genai Β· Pydantic Β· argparse Β· pathlib
What you need to know
This course is for a learner who can already write basic Python programs confidently: use variables, conditionals, loops, lists, dictionaries, and functions, import modules, work with files, and read a traceback. Exceptions, CLI design, nested JSON, pathlib, argparse, and Pydantic are introduced step by step and supported by linked articles.