1.6.0 • Published 2 years ago

f1-library v1.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

F1 information node library

Build and test status

A javascript project to get the information about drivers, teams and standings of formula 1 🏎

Installation

# Install the package
yarn install
#or
npm install
...

Example

import { getDrivers } from 'f1-library';

async () => {
  const drivers = await getDrivers;
}()

Methods

getDrivers()

Return a Promise with the drivers of F1.

getTeams()

Return a Promise with the teams of F1.

getStandings({ year, mode }))

Return a Promise with the standings of the year and mode ('drivers' or 'teams') of F1.

getSchedule({ year })

Return a Promise with the schedule of a season of F1.

1.2.0

2 years ago

1.1.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.0.0

3 years ago