Class: Fixture#

index.Fixture

API: https://fantasy.premierleague.com/api/fixtures/

remark Gameweek API: https://fantasy.premierleague.com/api/fixtures/?event=1

example

const fixture = new Fixture(1)

Hierarchy#

  • Fixture

Constructors#

constructor#

+ new Fixture(id: number): Fixture

Parameters:#

NameType
idnumber

Returns: Fixture

Defined in: models/fixture.ts:18

Properties#

id#

• id: number

Defined in: models/fixture.ts:18

Methods#

getAssisters#

â–¸ getAssisters(): Promise<FixStatsItemDelegate>

Returns: Promise<FixStatsItemDelegate>

Defined in: models/fixture.ts:38


getBPS#

â–¸ getBPS(): Promise<FixStatsItemDelegate>

Returns: Promise<FixStatsItemDelegate>

Defined in: models/fixture.ts:78


getBonus#

â–¸ getBonus(): Promise<FixStatsItemDelegate>

Returns: Promise<FixStatsItemDelegate>

Defined in: models/fixture.ts:58


getDetails#

â–¸ getDetails(): Promise<null | FixtureDelegate>

Returns: Promise<null | FixtureDelegate>

Defined in: models/fixture.ts:23


getGoalscorers#

â–¸ getGoalscorers(): Promise<FixStatsItemDelegate>

Returns: Promise<FixStatsItemDelegate>

Defined in: models/fixture.ts:98


getOwnGoalscorers#

â–¸ getOwnGoalscorers(): Promise<FixStatsItemDelegate>

Returns: Promise<FixStatsItemDelegate>

Defined in: models/fixture.ts:117


getPenaltyMisses#

â–¸ getPenaltyMisses(): Promise<FixStatsItemDelegate>

Returns: Promise<FixStatsItemDelegate>

Defined in: models/fixture.ts:136


getPenaltySaves#

â–¸ getPenaltySaves(): Promise<FixStatsItemDelegate>

Returns: Promise<FixStatsItemDelegate>

Defined in: models/fixture.ts:156


getRedCards#

â–¸ getRedCards(): Promise<FixStatsItemDelegate>

Returns: Promise<FixStatsItemDelegate>

Defined in: models/fixture.ts:175


getSaves#

â–¸ getSaves(): Promise<FixStatsItemDelegate>

Returns: Promise<FixStatsItemDelegate>

Defined in: models/fixture.ts:213


getYellowCards#

â–¸ getYellowCards(): Promise<FixStatsItemDelegate>

Returns: Promise<FixStatsItemDelegate>

Defined in: models/fixture.ts:194