
Discover the Python requests library essentials and how to integrate third-party APIs into your app, with an intro to how requests and APIs work and practical examples.
Send a simple get request with Python requests to a target URL, inspect headers and the absence of a response, and learn when to read a response from the service.
Learn how to use the five common http request methods—get, post, delete, put, and patch—to retrieve, add, or modify information, and read api documentation for each use case.
Send json data with requests via the json parameter, using a name and job payload to the /api/users endpoint, post the request, and view the created id in the response.
Learn to handle exceptions in Python requests by using raise for status for HTTPError on 4xx/5xx responses, catch connection errors with try/except, and prepare for timeouts shown later.
Learn to build a Python app with requests that queries a country API and returns population, languages, or time zones based on user input.
In this course you will learn about how requests on the web work and how to connect to APIs using the Python library called Requests. It covers everything you need to know about sending requests and handling responses in Python.
Why requests? Third-party APIs are a great way to add cool functionality to your app, and if you know how to access and use APIs, then you can take advantage of them. This course will help you get to the point where you're comfortable with working with APIs.
Check out list of videos that add up to over three hours below.
Join the course today by clicking the "Enroll in Course" button. I'll see you inside.