Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.17 KB

README.md

File metadata and controls

26 lines (22 loc) · 1.17 KB

F1 Standings API

A simple API written in Python that scraps the F1 website for the current year drivers championship standings.

Avaliable endpoints

GET /drivers

Returns all drivers in the FIA Formula 1 Championship of the current year with their position, points, name and surname, team, team color (updated 2024) and picture

Instalation

Via Docker

The installation via Docker is pretty easy:

  1. Make sure Docker is installed;
  2. Download the repository;
  3. Open a terminal on the root folder of the repository;
  4. Run docker compose up --build and the API should be ready to go;

Manually

The manual installation can be done following the steps below:

  1. Make sure pip is installed;
  2. Download the repository;
  3. Open a terminal on the root folder of the repository;
  4. Run pip install -r requirements.txt and then python app.py and the API should be working;