1.1.0 • Published 6 months ago

@f1api/sdk v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

F1 API SDK

This is a simple SDK created to help developers to use f1api.dev api in their projects. Compatible with ES6 and CommonJS.

F1 API is a free and open source API that provides data about Formula 1 races, drivers, teams, and circuits.

Installation

You can use npm, pnpm, yarn or bun to install this package. npm 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()

Endpoints

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

Contributing

Contributions are welcome! Also you can give a star to this repository if you like it. Or in the F1 API GitHub repo.

1.1.0

6 months ago

1.0.0

8 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago