#
Class: ClassicLeagueindex.ClassicLeague
#
HierarchyFPL
↳ ClassicLeague
#
Constructors#
constructor+ new ClassicLeague(id
: number | number[]): ClassicLeague
#
Parameters:Name | Type |
---|---|
id | number | number[] |
Returns: ClassicLeague
Defined in: models/classic-league.ts:10
#
Properties#
id• id: number | number[]
Defined in: models/classic-league.ts:10
#
Methods#
getDetailsâ–¸ getDetails(page?
: number, pageNewEntries?
: number, phase?
: number): Promise<ClassicLeagueDelegate | ClassicLeaugesDelegate>
Returns the league’s details & standings of the given page.
#
Parameters:Name | Type | Default value | Description |
---|---|---|---|
page | number | 1 | |
pageNewEntries | number | 1 | |
phase | number | 1 | months: Overall - 1, September - 2, October - 3 |
Returns: Promise<ClassicLeagueDelegate | ClassicLeaugesDelegate>
Defined in: models/classic-league.ts:22