Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Create a Python API with FastAPI - Full Tutorial

Tech with Tim via YouTube

Overview

Learn how to create a Python API using FastAPI in this comprehensive tutorial. Explore the fundamentals of APIs, including CRUD operations, request/response cycles, and JSON data format. Dive into FastAPI's features and set up your development environment. Follow along as you build a functional API, implementing POST, GET, PUT, and DELETE requests using Pydantic models and path parameters. Test your API and troubleshoot common issues. By the end of this tutorial, you'll have the skills to develop and deploy your own Python APIs for web applications.

Syllabus

| What is an API?
| CRUD
| Request/Response
| JSON
| FastAPI Overview
| Install/Setup
| Running FastAPI
| Pydantic Models
| Post Request
| Get Requests
| Path Parameters
| Put Requests
| Delete Requests
| Testing the API
| Small Fix To Delete Request

Taught by

Tech With Tim

Reviews

Start your review of How to Create a Python API with FastAPI - Full Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.