RANIARANIA Academy

Concurrency, APIs & Working with Data

Learn to consume REST APIs with the requests library, handle JSON, paginate and authenticate, then scale up with threading, multiprocessing and asyncio — finishing with a real fetch-parse-store data pipeline into SQLite. Every idea is taught with runnable Python 3.10+ code and a hands-on lab of ten exercises. This course helps you prepare for the Python Institute PCPP certification.

Watch the free preview

HTTP and the requests library — free to watch, no account needed.

Python: Professional ADVANCED · 150 min · Certificate on completion · 3 CPD points

What you'll learn

  • Consume REST APIs with the requests library, handling status codes and query parameters
  • Parse, navigate and produce JSON safely from real API responses
  • Authenticate with headers and traverse paginated endpoints with rate-limit-aware retries
  • Choose correctly between threading, multiprocessing and asyncio for a given workload
  • Build a concurrent fetch-parse-store data pipeline that lands records in SQLite

Syllabus

Talking to REST APIs
HTTP and the requests libraryFree preview15 min
Working with JSON responses15 min
Authentication, Pagination & Reliability
Auth headers and pagination15 min
Rate limiting, errors and retry with backoff15 min
Concurrency in Python
Threading vs multiprocessing vs asyncio — choosing the right model15 min
async/await and asyncio in practice15 min
Building Data Pipelines
Producer/consumer with queues15 min
A fetch → parse → store ETL pipeline to SQLite15 min
Lab — 10 Programming Exercises & Solutions
Programming Exercises 1–515 min
Programming Exercises 6–1015 min