How To Create a Python API With FastAPI - Full Tutorial

Published: 23 May 2024
on channel: Tech With Tim
46,574
1.6k

Host your API with Hostinger by going to: https://hostinger.com/TechwithTim and using my code TECHWITHTIM

In today's video I'm going to be showing you guys how you can create your own API using Python for web applications. API (application programming interface) essentially allows one piece of software to request data from another and receive a response.

If you want to land a developer job: https://techwithtim.net/dev

🎞 Video Resources 🎞
How to host this FastAPI: https://fastapi.tiangolo.com/vi/deplo...
Finished Code: https://github.com/techwithtim/Fast-A...
Fix Pip (MacOS):    • How to Install Pygame on Mac OSX (Fas...  
Fix Pip (Windows):    • How to Install Pygame (Windows 8/10)  

⏳ Timestamps ⏳
00:00 | What is an API?
00:40 | CRUD
01:19 | Request/Response
01:38 | JSON
04:15 | FastAPI Overview
04:44 | Install/Setup
05:35 | Running FastAPI
09:00 | Pydantic Models
12:02 | Post Request
13:39 | Get Requests
15:57 | Path Parameters
17:45 | Put Requests
20:30 | Delete Requests
22:10 | Testing the API
23:41 | Small Fix To Delete Request

Hashtags
#api #pythonprogramming #techwithtim


On this page of the site you can watch the video online How To Create a Python API With FastAPI - Full Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Tech With Tim 23 May 2024, share the link with friends and acquaintances, this video has already been watched 46,574 times on youtube and it was liked by 1.6 thousand viewers. Enjoy your viewing!