Returns a list of all seasons.
finished
active
inactive
unfinished
startDate
endDate
const seasonsAll: Season[] = await sdk.getSeasonsList();const seasonsFinished: Season[] = await sdk.getSeasonsList({ finished: true });const seasonsInactive: Season[] = await sdk.getSeasonsList({ inactive: true });
Generated using TypeDoc
Returns a list of all seasons.
Filter options
finished- filter by seasons which have start and end date,active- filter by seasons which have start date but did not yet finish,inactive- filter by seasons which do not have start date,unfinished- filter by seasons which do not have end date,Sort options
startDate- sorts by season starting date,endDate- sorts by season ending date.Usage