F1API SDK - Official Release
Introduction
F1API SDK is an npm package designed to interact seamlessly with the f1api.dev, allowing developers to fetch real-time and historical Formula 1 data effortlessly.
Installation
To install the package, run the following command:
npm install @f1api/sdk
or with yarn:
yarn add @f1api/sdk
Features
- Fetch real-time race data
- Access historical F1 statistics
- Retrieve driver and team information
- Easy-to-use API methods
Usage
import F1Api from "@f1api/sdk"
const f1Api = new F1Api()
Use any method to retrieve endpoint data
const drivers = await f1Api.getDrivers()
API Methods
You have a method for each endpoint in the api. You can find all the available endpoints in the docs section of the website.
Changelog
v1.0.0
- Initial release
Contributing
We welcome contributions! Feel free to submit issues or pull requests to improve the SDK.
License
This project is licensed under the MIT License.