f1-fantasy-api
v0.3.2
Published
An unofficial API wrapper for the F1 Fantasy API
Downloads
17
Maintainers
Readme
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.