FastAPI Python Tutorial - Learn How to Build a REST API

pixegami April 24, 2022
Video Thumbnail

About

No channel description available.

Video Description

In this project, we'll be creating an application using FastAPI. APIs are the backbone of internet services, and I think that the FastAPI framework (released in 2018) is one of the best ways for Python users to easily make custom APIs with high performance. 🔗 Links 👉 Project Code: https://github.com/pixegami/fastapi-tutorial 👉 FastAPI: https://fastapi.tiangolo.com/ 👉 Deploy on AWS: https://youtu.be/SgSnz7kW-Ko 📚 Chapters 00:00 Introduction 01:15 Install FastAPI 02:16 Creating our first API 06:12 Planning our APIs 08:04 GET method (list books) 09:45 Interactive API documentation 11:12 Call API from terminal 11:46 API path parameters 14:34 Raising exceptions 18:51 POST method (add book) 21:04 Data persistence with JSON 22:13 Using JSON to save files 25:04 JSON request body 27:11 API data modeling 33:44 Rejecting invalid requests 34:19 API query parameters 38:18 Wrapping up #python #fastapi

DIY Wind Chime Supplies Now

AI-recommended products based on this video

Loading...
Mibly [125 Count] 6 Inch Jumbo Multipurpose wooden Popsicle sticks, Wood Craft Supplies, Lollipop Lolly Sticks, Wooden Tongue Depressor, Wax Sticks for Waxing, Ice Cream Sticks

Mibly [125 Count] 6 Inch Jumbo Multipurpose wooden Popsicle sticks, Wood Craft Supplies, Lollipop Lolly Sticks, Wooden Tongue Depressor, Wax Sticks for Waxing, Ice Cream Sticks

(110)
$6.29
FREE delivery Thu, Sep 11 on your first order
800+ bought in past month
Loading...
LK 3 Pack Screen Protector Compatible for iPhone 11 and iPhone XR Tempered Glass Global Recycled Standard

LK 3 Pack Screen Protector Compatible for iPhone 11 and iPhone XR Tempered Glass Global Recycled Standard

(65,893)
$8.48
FREE delivery Sat, Sep 20 on your first order
1K+ bought in past month
Loading...
[ 3+3 Pack] LK 3Pack iPhone 13 Screen Protector 6.1-inch with 3Pack Camera Lens Protector, Anti-Scratch Easy-Installation,9H Hardness, HD Tempered Glass Film Global Recycled Standard

[ 3+3 Pack] LK 3Pack iPhone 13 Screen Protector 6.1-inch with 3Pack Camera Lens Protector, Anti-Scratch Easy-Installation,9H Hardness, HD Tempered Glass Film Global Recycled Standard

(62,984)
$13.49
FREE delivery Sat, Sep 20 on your first order
500+ bought in past month
Loading...
ESR 3 Pack for iPhone 17 Pro Max Privacy Screen Protector, Military Grade Shatterproof, 9H Hardness, Anti-spy Tempered Glass with UltraFit Tray Global Recycled Standard

ESR 3 Pack for iPhone 17 Pro Max Privacy Screen Protector, Military Grade Shatterproof, 9H Hardness, Anti-spy Tempered Glass with UltraFit Tray Global Recycled Standard

(75)
$19.99
FREE delivery Tue, Sep 30 on your first order
500+ bought in past month
Loading...
ESR 3 Pack of iPhone 17 Pro Max Screen Protector, Military-Grade Shatterproof, 9H Hardness, Full Coverage Tempered Glass with Ultra Fit Tray Global Recycled Standard

ESR 3 Pack of iPhone 17 Pro Max Screen Protector, Military-Grade Shatterproof, 9H Hardness, Full Coverage Tempered Glass with Ultra Fit Tray Global Recycled Standard

(8,713)
$14.07
Prime
1K+ bought in past month
Loading...
Ultra-Slim Bidet Attachment, Posterior&Feminine Wash-(Retractable Dual Nozzles), Non-Electric Bidet Attachment for Toilet Seat, Adjustable Fresh Cold Water Pressure, Stainless Steel Inlet (White)

Ultra-Slim Bidet Attachment, Posterior&Feminine Wash-(Retractable Dual Nozzles), Non-Electric Bidet Attachment for Toilet Seat, Adjustable Fresh Cold Water Pressure, Stainless Steel Inlet (White)

(222)
$40.99
FREE delivery Sat, Apr 11
Loading...
Multi-Functional Vegetable Peeler for Kitchen,Vegetable Peeler Wooden Handle,2-in-1 Stainless Steel Fruit & Vegetable Peelers with Bottle Opener for Potato Pineapple (2PC)

Multi-Functional Vegetable Peeler for Kitchen,Vegetable Peeler Wooden Handle,2-in-1 Stainless Steel Fruit & Vegetable Peelers with Bottle Opener for Potato Pineapple (2PC)

(3)
$22.99
FREE delivery Apr 20 - 24
Loading...
Ultra-Slim Bidet Attachment, Posterior&Feminine Wash-(Retractable Dual Nozzles), Non-Electric Bidet Attachment for Toilet Seat, Adjustable Fresh Cold Water Pressure, Stainless Steel Inlet (White)

Ultra-Slim Bidet Attachment, Posterior&Feminine Wash-(Retractable Dual Nozzles), Non-Electric Bidet Attachment for Toilet Seat, Adjustable Fresh Cold Water Pressure, Stainless Steel Inlet (White)

(234)
$69.99
FREE delivery Fri, Mar 13
1K+ bought in past month
Loading...
Custom Graduation Tumbler Gifts for Him Her, Personalized Skinny Tumbler with Lid and Straws, Class of 2026 Gifts for Women Men, Graduation Cups Gift for Son Daughter, 20 oz Stainless Steel Tumbler

Custom Graduation Tumbler Gifts for Him Her, Personalized Skinny Tumbler with Lid and Straws, Class of 2026 Gifts for Women Men, Graduation Cups Gift for Son Daughter, 20 oz Stainless Steel Tumbler

(16)
$19.99
$10.99 delivery Feb 26 - Mar 10
Loading...
HONYUEYIM 2 PCS Handmade Boho Coasters,100% Cotton Woven Macrame Absorbent Coasters for Drinks,Heat Resistant Office Cotton Coasters for Coffee Table,Desk Kitchen Dining Room Kitchen,Housewarming Gift (Pink)

HONYUEYIM 2 PCS Handmade Boho Coasters,100% Cotton Woven Macrame Absorbent Coasters for Drinks,Heat Resistant Office Cotton Coasters for Coffee Table,Desk Kitchen Dining Room Kitchen,Housewarming Gift (Pink)

(2)
$14.43
FREE delivery Sun, Jul 6 on your first order
Loading...
HONYUEYIM 2 PCS Handmade Boho Coasters,100% Cotton Woven Macrame Absorbent Coasters for Drinks,Heat Resistant Office Cotton Coasters for Coffee Table,Desk Kitchen Dining Room Kitchen,Housewarming Gift (White)

HONYUEYIM 2 PCS Handmade Boho Coasters,100% Cotton Woven Macrame Absorbent Coasters for Drinks,Heat Resistant Office Cotton Coasters for Coffee Table,Desk Kitchen Dining Room Kitchen,Housewarming Gift (White)

(2)
$15.19
FREE delivery Sat, Jun 14 on your first order