Skip to content

VinceDerPrince/Formula1-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Formula 1 API

An API to get the popular quotes from the sport section of the site bbc.com.

Features

You can get:

  • the results to a specific race of the season: race results
  • the results to a specific qualifying of the season: qualifying results
  • the results to a specific practice of the season: practice results

Setup

Virtual Environment

python3 -m venv venv
source venv/bin/activate

Or use any virtual environment you like.

Uvicorn

To show the UI I used in the Introduction, we use uvicorn. You do this as such:

uvicorn main:app --reload

It should know look like this in your terminal and a browser Window with the API UI should show up. To get this better looking interface, as in my preview of the features, append "/docs" at the end of the link in your browser!

Uvicorn Setup

Need To Know

This API is not to be used neither is being used for commercial use exists to hurt the bbc.com site. The API was created because I want to practice my API developing and web scraping skills!

About

An API to get useful and current Formula 1 data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages