Skip to main content

Namespace: schedule

Functions​

current​

▸ current(): Promise<Schedule>

Get the F1 schedule for the current year.

Returns​

Promise<Schedule>

Defined in​

routes/schedule.ts:14


remaining​

▸ remaining(): Promise<Schedule>

Get the remaining events on the F1 schedule for the current year.

Returns​

Promise<Schedule>

Defined in​

routes/schedule.ts:28


year​

▸ year(year): Promise<Schedule>

Get the schedule by a specific season, by year.

Parameters​

NameTypeDescription
yearnumberThe year to fetch from.

Returns​

Promise<Schedule>

Defined in​

routes/schedule.ts:43