#
Class: Gameweekindex.Gameweek
API: https://fantasy.premierleague.com/api/bootstrap-static/
example
#
Hierarchy- Gameweek
#
Constructors#
constructor+ new Gameweek(id
: number | number[]): Gameweek
#
Parameters:Name | Type |
---|---|
id | number | number[] |
Returns: Gameweek
Defined in: models/gameweek.ts:18
#
Properties#
id• id: number | number[]
Defined in: models/gameweek.ts:18
#
Methods#
getDetailsâ–¸ getDetails(): Promise<GameweekDelegate | GameweekDelegate[]>
Returns object of requested gameweek or array of gameweeks.
example
example
Returns: Promise<GameweekDelegate | GameweekDelegate[]>
Defined in: models/gameweek.ts:35
#
getFixturesâ–¸ getFixtures(): Promise<FixtureDelegate[]>
Returns array of fixtures.
example
Returns: Promise<FixtureDelegate[]>
Defined in: models/gameweek.ts:71