PitchKit
API Reference@pitchkit/data-providerswyscoutFunctions

parseMatchPlayers()

function parseMatchPlayers(json): WyscoutMatchPlayer[];

Defined in: packages/data-providers/src/wyscout/parse.ts:150

Parses a team's squad list out of a per-match file's players map.

Entries that aren't { playerId, player } pairs are dropped rather than throwing: a squad list is labelling, and losing one substitute should not cost you the match.

Parameters

ParameterType
jsonunknown

Returns

WyscoutMatchPlayer[]

On this page