Python REST APIs With FastAPI

Douglas Starnes

Creating APIs, or application programming interfaces, is an important part of making your software accessible to a broad range of users. In this video course, you’ll learn the main concepts of FastAPI and how to use it to quickly create web APIs that implement best practices by default.

By the end of it, you’ll be able to start creating production-ready web APIs, and you’ll have the understanding needed to go deeper and learn more for your specific use cases.

In this video course, 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 validation, serialization, and documentation
  • Continue learning about FastAPI for your use cases

What’s Included:

Downloadable Resources:

About Douglas Starnes

Douglas Starnes is a tech author and Microsoft Most Valuable Professional in developer technologies in Memphis, TN. He is also the co-director of the Memphis Python User Group and has been working with Python professionally for 8 years.

» More about Douglas

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Participant Comments

Avatar image for killbit

killbit on July 12, 2022

Thank you! This was excellent and exactly what I needed to make my scripts accessible to my team!

Avatar image for briandonati

briandonati on April 9, 2022

Very good presentation. I’ve created several applications using flask_restful and flask_restplus. After reviewing this course I will definitely give FastAPI a try. While I’ve always considered Flask to be mostly “cruft” free, it appears that FastAPI is even more so. Good job and thanks.

← Browse All Courses