Skip to content

Open and free Formula One (F1) API. Built with Next.js, Turso (SQLite) and Typescript. Tested with Playwright.

License

Notifications You must be signed in to change notification settings

Rafacv23/F1-api

Folders and files

NameName
Last commit message
Last commit date
Jan 9, 2025
Feb 18, 2025
Feb 10, 2025
Feb 10, 2025
Feb 18, 2025
Dec 10, 2024
Dec 12, 2024
Feb 15, 2025
Feb 10, 2025
Jan 10, 2025
Jan 3, 2025
Jul 25, 2024
Apr 30, 2024
Jan 2, 2025
Jul 22, 2024
Jul 22, 2024
Feb 10, 2025
May 7, 2024
Dec 10, 2024
Aug 26, 2024
Jul 22, 2024
Feb 1, 2025
Feb 10, 2025
Feb 10, 2025
Dec 16, 2024
Apr 30, 2024
Dec 24, 2024
Jan 14, 2025

Repository files navigation

🏎️ F1api.dev | Your free & open source F1 api, ready for development

All Contributors

Star on GitHub Fork on GitHub

Project made with Next.js and Turso to take all the data about the Formula 1 Championship.

f1api.dev

f1-connect-api-preview f1-connect-api-performance

🛫 Endpoints

You can find all the available endpoints in the docs section of the website.

🪄 Official SDK to use the API

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

Installation

You can use npm, pnpm, yarn or bun to install this package.

npm install @f1api/sdk

Usage

Initialize the SDK

You can use coommonjs or ES6 import to initialize the SDK.

import F1Api from "@f1api/sdk"

const f1Api = new F1Api()

Use any method to retrieve endpoint data

const drivers = await f1Api.getDrivers()

⌨️ Stack

  • Next.js
  • React
  • Turso
  • JavaScript
  • TypeScript
  • Tailwind
  • Shadcn
  • HyperUi
  • Playwright

📱 Contact

You can contact with us contact section of the website.

👀 Be part of the project

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

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Artem Anisimov
Artem Anisimov

🌍 🐛

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Open and free Formula One (F1) API. Built with Next.js, Turso (SQLite) and Typescript. Tested with Playwright.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published