The modern world runs on APIs. This section teaches you how to talk to web services, pull data from the internet, and even scrape websites when no API is available. We'll also cover async HTTP for when you need speed.
Note: This section requires installing third-party packages. Each lesson includes setup instructions.
| # | Lesson | Description |
|---|---|---|
| 01 | Requests Library | Making HTTP requests the easy way |
| 02 | REST APIs | Understanding and consuming RESTful services |
| 03 | Web Scraping | Extracting data from web pages with BeautifulSoup |
| 04 | Async API Calls | High-performance concurrent HTTP with aiohttp |
pip install requests beautifulsoup4 aiohttp- Make GET/POST requests to any API
- Parse JSON responses and handle errors
- Scrape data from web pages
- Make many API calls concurrently with async
- Section 03: File I/O — especially JSON
- Section 05: Intermediate — error handling
- Section 07: Async Python — for the async lesson