Python API Clients
Call REST APIs from Python with requests and httpx: auth, retries and pagination.
What you'll learn
- Make requests with requests and httpx
- Handle auth, pagination and rate limits
- Retry failed requests safely
- Package a reusable client
About this course
You build a Python client for a public API. You handle authentication, pagination, rate limits, retries and errors, and package the client for reuse.
Course curriculum
4 modules and 12 lessons over 4 weeks. Plan for about 12 learning hours.
01RequestsWeek 1 · 3 lessons
- GET and POST
- Headers and auth
- JSON
02PaginationWeek 2 · 3 lessons
- Page and cursor styles
- Generators
- Rate limits
03ReliabilityWeek 3 · 3 lessons
- Timeouts
- Retries
- Errors
04Client packageWeek 4 · 3 lessons
- Structure
- Tests
- README
Project
API client package. A tested Python client for a public API with pagination and retries.
Who this course is for
Python developers who integrate with third-party services.
Prerequisites
You know Python basics and what a REST API is.
What's included
- 180-day course access
- Project brief
- Starter repository
- Coding labs
- Reference solutions
- One written project review
- A digital completion certificate
Learning format
Project-based online course, part of our guided project courses. One written project review.
Access and delivery
- Course access is delivered within 15 minutes after payment.
- Written project review is returned within 2 business days of submission.
- Completion materials are issued within 2 business days after the project is approved.
Certificate
You receive a digital completion certificate. Completion materials are issued within 2 business days after the project is approved.
Frequently asked questions
When does access start?
Course access is delivered within 15 minutes after payment.
Is payment taken on this website?
No. After you submit your enrollment request, we reply by email with payment details and enrollment confirmation.
Does this course guarantee a job or income?
No. It is an education and training service and does not include employment, income or placement guarantees.
Can I cancel?
Our Refund and Cancellation Policy lists the terms for project-based programs.