Class: ClassicLeague#

index.ClassicLeague

Hierarchy#

  • FPL

    ↳ ClassicLeague

Constructors#

constructor#

+ new ClassicLeague(id: number | number[]): ClassicLeague

Parameters:#

NameType
idnumber | 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:#

NameTypeDefault valueDescription
pagenumber1
pageNewEntriesnumber1
phasenumber1months: Overall - 1, September - 2, October - 3

Returns: Promise<ClassicLeagueDelegate | ClassicLeaugesDelegate>

Defined in: models/classic-league.ts:22