Skip to content

zeroclutch/f1-fantasy-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.