A simple API written in Python that scraps the FIA website for the current year drivers championship standings. The API currently scraps the FIA website for the World Endurance Championship, World Rally Championship and Formula 1 standings.
Returns the 10 first competitors in the FIA World Rally Championship for the current year
Example:
Returns the 20 first competitors in the FIA World Endurance Championship for the current year
Example:
Returns the 10 first competitors in the FIA Formula 1 Championship for the current year
Example:
The installation via Docker is pretty easy:
- Make sure Docker is installed;
- Download the repository;
- Open a terminal on the root folder of the repository;
- Run
docker compose up --build
and the API should be ready to go;
The manual installation can be done following the steps below:
- Make sure pip is installed;
- Download the repository;
- Open a terminal on the root folder of the repository;
- Run
pip install -r requirements.txt
and thenpython main.py
and the API should be working;