#
Class: H2HLeagueindex.H2HLeague
Details History Fixtures Upcoming
#
HierarchyFPL
↳ H2HLeague
#
Constructors#
constructor+ new H2HLeague(id
: number | number[]): H2HLeague
#
Parameters:Name | Type |
---|---|
id | number | number[] |
Returns: H2HLeague
Defined in: models/h2h-league.ts:20
#
Properties#
id• id: number | number[]
Defined in: models/h2h-league.ts:20
#
Methods#
getDetailsâ–¸ getDetails(): Promise<H2HLeagueDelegate | H2HLeaguesDelegate>
Returns the current league’s details & standings of the given page.
Returns: Promise<H2HLeagueDelegate | H2HLeaguesDelegate>
Defined in: models/h2h-league.ts:28
#
getEntryDetailsâ–¸ getEntryDetails(entry?
: number, page?
: number): Promise<H2HStandingDelegate | H2HLeaguesDelegate>
Returns gameweek matches in league.
#
Parameters:Name | Type | Default value | Description |
---|---|---|---|
entry | number | 1 | - |
page | number | 1 |
Returns: Promise<H2HStandingDelegate | H2HLeaguesDelegate>
Defined in: models/h2h-league.ts:116
#
getFixturesâ–¸ getFixtures(event?
: number, page?
: number): Promise<H2HMatchDelegate | H2HMatchesDelegate>
Returns gameweek matches in league.
#
Parameters:Name | Type | Default value | Description |
---|---|---|---|
event | number | 1 | |
page | number | 1 |
Returns: Promise<H2HMatchDelegate | H2HMatchesDelegate>
Defined in: models/h2h-league.ts:68