fetchMatchEvents()
function fetchMatchEvents(matchId, options?): Promise<StatsBombEvent[]>;Defined in: packages/data-providers/src/statsbomb/load.ts:114
Every event in one match.
These files are large — a typical match is around 3 MB — so prefer fetching once and caching, and expect a visible wait on a cold load.
Parameters
| Parameter | Type |
|---|---|
matchId | number |
options | StatsBombLoadOptions |
Returns
Promise<StatsBombEvent[]>