f1-fantasy-api
TypeScript icon, indicating that this package has built-in type declarations

0.3.2 • Public • Published

F1 Fantasy API

The documentation is available here. The Github is available here. The Discord is available here.

Get started

Install

npm i f1-fantasy-api

Then, import and instantiate a Client.

Example

const { Client } = require('f1-fantasy-api')

const client = new Client( /* options */ )
client.init()
.then(() => {
    console.log(client.drivers.get(15)) // Prints Charles Leclerc's information
})

Help us out

This is all very much a work in progress, we'd love for you to join us and contribute! Join the discord to learn more.

Package Sidebar

Install

npm i f1-fantasy-api

Weekly Downloads

5

Version

0.3.2

License

MIT

Unpacked Size

26.9 kB

Total Files

19

Last publish

Collaborators

  • mrpranavgrover