FastAPI Python Tutorial - Learn How to Build a REST API

preview_player
Показать описание
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

📚 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
Рекомендации по теме
Комментарии
Автор

Really solid explanations without getting stuck. Your channel will blow up when the YouTube algorithm is on your side

nixielee
Автор

I think this is the best possible introduction for FastAPI! Kudos!

anujonthemove
Автор

You're honestly a gem, I needed this!

sharafmomen
Автор

Thank you for this video! Your channel is underrated.

andrewchen
Автор

Thanks for the well explained tutorial, may i ask what the tool for command autosuggestion on the bash??

sinlungke
Автор

Why are you stick to those RPC style endpoint naming like "list-books", "add-book" etc? IMHO in REST world, your "list-books" will become "GET /books", "add-books" will become "POST /books" etc. The plural-vs-singular REST API entities naming is controversial and not so critical as sticking to RCP-style endpoints naming of REST APIs.

rustamismailov
Автор

Great Video. excellent pace. keep it up.

brendanpeterson
Автор

Hi, I am having trouble running from the part when we introduced JSON file. I don't understand the problem.

juneshgautam
Автор

Thank you for this beautiful project, you have an example on put?

sergekapema
Автор

@pixegrami, how would I delete a book? I'm having trouble doing that. Thanks

emmanuelalder
Автор

Thank you so much 🙂❤
Can you make video about how to host api for free

freepythoncode
Автор

Another great video. Thank you. Please keep them coming.

emmanuelalder
Автор

Great and well explained tutorial. Thank you!

gustavojuantorena
Автор

Amazing tutorial! Also, may i know your vscode theme? 🙂

arukass_
Автор

Bro literally wonderful tutorial 🔥🔥.
Need more videos plz

Raj-ksjk
Автор

Did the tutorial today and had a lot of fun!

picasteser