Project made with Next.js and Turso to take all the data about the Formula 1 Championship.
You can find all the available endpoints in the docs section of the website.
You can use the official SDK to use the API. This is not mandatory, you can simply use fetch to get the data.
F1 API SDK GitHub
F1 API SDK NPM
You can use npm, pnpm, yarn or bun to install this package.
npm install @f1api/sdk
You can use coommonjs or ES6 import to initialize the SDK.
import F1Api from "@f1api/sdk"
const f1Api = new F1Api()
const drivers = await f1Api.getDrivers()
- Next.js
- React
- Turso
- JavaScript
- TypeScript
- Tailwind
- Shadcn
- HyperUi
- Playwright
You can contact with us contact section of the website.
Feel free to check my code and make comments about it. And use it in your daily work.
git clone https://github.com/Rafacv23/F1-api
Thanks goes to these wonderful people (emoji key):
Artem Anisimov 🌍 🐛 |
This project follows the all-contributors specification. Contributions of any kind welcome!