PitchKit
API Reference@pitchkit/data-providerswyscoutFunctions

fetchMatch()

function fetchMatch(matchId, options?): Promise<WyscoutMatch>;

Defined in: packages/data-providers/src/wyscout/load.ts:115

A whole match — events, both teams, and their squads — in one call.

~480 KB. The teams and players travel with the events, so there is no second request to label a chart.

Parameters

ParameterType
matchIdnumber
optionsWyscoutLoadOptions

Returns

Promise<WyscoutMatch>

On this page