
Python's Requests Library (Guide) – Real Python
The Requests library is the de facto standard for making HTTP requests in Python. It abstracts the complexities of making requests behind a beautiful, simple API so that you can focus on …
Python and REST APIs: Interacting With Web Services
In this tutorial, you'll learn how to use Python to communicate with REST APIs. You'll learn about REST architecture and how to use the requests library to get data from a REST API. You'll …
Python & APIs: A Winning Combo for Reading Public Data
In this tutorial, you'll learn what APIs are and how to consume them using Python. You'll also learn some core concepts for working with APIs, such as status codes, HTTP methods, the requests …
Using FastAPI to Build Python Web APIs
In this tutorial, you’ll learn how to: Use path parameters to get a unique URL path per item Receive JSON data in your requests using pydantic Use API best practices, including …
Python API Tutorials
Dec 31, 2024 · Learn about Python API design, interacting with APIs using Python, and how to work with REST APIs in general. This knowledge will enable you to create or integrate with …
Making HTTP Requests With Python
The requests library is the de facto standard for making HTTP requests in Python. It abstracts the complexities of making requests behind a beautiful, simple API so that you can focus on …
Caching External API Requests - Real Python
Learn how to to cache external API calls in your Python apps with the excellent "requests" module. This tutorial includes a full example project that demonstrates this optimization …
Mocking External APIs in Python
The following tutorial demonstrates how to test the use of an external API using Python mock objects. Integrating with a third-party application is a great way to extend the functionality of …
Exploring HTTPS With Python – Real Python
In this tutorial, you'll gain a working knowledge of the various factors that combine to keep communications over the Internet safe. You'll see concrete examples of how to keep …
Python's urllib.request for HTTP Requests – Real Python
In this tutorial, you'll be making HTTP requests with Python's built-in urllib.request. You'll try out examples and review common errors encountered, all while learning more about HTTP …