PitchKit
API Reference@pitchkit/data-providerswyscoutInterfaces

WyscoutEvent

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

Indexable

[key: string]: unknown

Properties

PropertyModifierTypeDescriptionDefined in
endX?readonlynumberpositions[1].x, lifted — absent for Shot, Interruption and Offside, where Wyscout never records a real end location. See hasEndLocation.packages/data-providers/src/wyscout/types.ts:89
endY?readonlynumberpositions[1].y, lifted. Absent wherever endX is.packages/data-providers/src/wyscout/types.ts:91
eventIdreadonlynumber-packages/data-providers/src/wyscout/types.ts:61
eventNamereadonlyWyscoutEventName-packages/data-providers/src/wyscout/types.ts:62
eventSecreadonlynumberSeconds since the start of this period, not of the match.packages/data-providers/src/wyscout/types.ts:67
idreadonlynumberUnique event id.packages/data-providers/src/wyscout/types.ts:56
matchIdreadonlynumber-packages/data-providers/src/wyscout/types.ts:57
matchPeriodreadonlyWyscoutMatchPeriod-packages/data-providers/src/wyscout/types.ts:65
playerIdreadonlynumber0 when no player is credited (some interruptions).packages/data-providers/src/wyscout/types.ts:60
positionsreadonlyreadonly WyscoutPosition[]Start and (usually) end point. Almost always two entries; a handful of fouls carry one. Coordinates are normalised to the attacking direction, not absolute: x: 100 is always the goal the event's team is attacking, in both halves. Both teams therefore appear to attack left-to-right, and nothing flips at half time.packages/data-providers/src/wyscout/types.ts:78
subEventIdreadonlystring | number-packages/data-providers/src/wyscout/types.ts:63
subEventNamereadonlystring-packages/data-providers/src/wyscout/types.ts:64
tagsreadonlyreadonly WyscoutTag[]-packages/data-providers/src/wyscout/types.ts:68
teamIdreadonlynumber-packages/data-providers/src/wyscout/types.ts:58
xreadonlynumberpositions[0].x, lifted for direct use as a PitchKit x accessor.packages/data-providers/src/wyscout/types.ts:81
yreadonlynumberpositions[0].y, lifted for direct use as a PitchKit y accessor.packages/data-providers/src/wyscout/types.ts:83

On this page