Namespace: schedule
Functions
current
▸ current(): Promise
<Schedule
>
Get the F1 schedule for the current year.
Returns
Promise
<Schedule
>
Defined in
remaining
▸ remaining(): Promise
<Schedule
>
Get the remaining events on the F1 schedule for the current year.
Returns
Promise
<Schedule
>
Defined in
year
▸ year(year
): Promise
<Schedule
>
Get the schedule by a specific season, by year.
Parameters
Name | Type | Description |
---|---|---|
year | number | The year to fetch from. |
Returns
Promise
<Schedule
>