FastAPI and Web Scraping in Python - Part 2: FastAPI

preview_player
Показать описание
We'll be using FastAPI to provide us information on important events that have occurred on a given day / month or throughout the year. In this video we'll be implementing FastAPI to create a very simple API, which will return the data that we collected in the previous video.

Timestamps ⏳
0:00 - Intro and Recap
3:36 - Building the API

The finished code can be found here:

#rithmic #fastapi #python

Рекомендации по теме
Комментарии
Автор

If you want to see more videos on FastAPI. Be sure to like and Subscribe 😃

iamrithmic
Автор

Really good video mate. Perhaps my new favourite python channel!

bisratgetachew
Автор

all well explained with best practice.

pongpun
Автор

Super helpful video!
How is async useful in this api?
And what would happen if we wrote normal functions instead?

heisenbergwhite
Автор

Hello congrats. Excellent
Friend, Is possible to integrate scrapy with fastapi?
Do you have a some example?

nelsongomez
Автор

I think it's important to address the return code when it's a client error. You could use 400 as it's a client error.

Another thing that should be covered is if the json file don't exist. The program probably will break at this stage.

And for best practices, as you are teaching someone that wouldn't any experience in the market, guide how to create a git repo and push it up, and also a README.md.

The leak of information on repo and on it's code, it's the worst thing to work on a project.

gabriellefthandy