Город МОСКОВСКИЙ
00:41:20

FastAPI Python Tutorial - Learn How to Build a REST API

Аватар
Фантастические идеи на JavaScript
Просмотры:
51
Дата загрузки:
29.11.2023 00:50
Длительность:
00:41:20
Категория:
Обучение

Описание

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

Рекомендуемые видео