Skip to content

Latest commit

 

History

History
99 lines (64 loc) · 2.87 KB

README.md

File metadata and controls

99 lines (64 loc) · 2.87 KB

🏎️ 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!