PitchKit
API Reference@pitchkit/data-providerswyscoutInterfaces

WyscoutMatch

Defined in: packages/data-providers/src/wyscout/types.ts:156

A whole match file: the events, plus the two teams and their squads.

The teams and players are bundled per match by the mirror this package fetches from, which is why one request is enough to label a chart.

Properties

PropertyModifierTypeDescriptionDefined in
eventsreadonlyreadonly WyscoutEvent[]-packages/data-providers/src/wyscout/types.ts:157
playersreadonlyReadonly<Record<string, readonly WyscoutMatchPlayer[]>>Keyed by team id, as a string.packages/data-providers/src/wyscout/types.ts:161
teamsreadonlyReadonly<Record<string, WyscoutTeam>>Keyed by team id, as a string — JSON object keys always are.packages/data-providers/src/wyscout/types.ts:159

On this page