Variable: espnMbbPlayerSplits
constespnMbbPlayerSplits:Wrapper<Row[],EspnAthleteSplitsParams>
Defined in: src/generated/espn/mbb.ts:583
MBB — player splits (ESPN site.web.api.espn.com (web v3)).
Endpoint: GET https://site.web.api.espn.com/apis/common/v3/sports/basketball/mens-college-basketball/athletes/{athlete_id}/splits
Param
params.athlete_id
number | string — the ESPN athlete id.
Param
params.season
number | string — the season year (the year the season ends for winter sports, e.g. 2025 for 2024-25).
Param
params.parsed
boolean — when true, route the payload through this endpoint's tidy.js parser and return rows instead of raw JSON.
Returns
Promise<Row[]> with { parsed: true } (rows are untyped: not parity-verified yet); the raw ESPN payload (unknown) otherwise.
Example
await sdv.mbb.espnMbbPlayerSplits({ athlete_id: '…' });
See
https://js.sportsdataverse.org/docs/mbb/reference/web#espnmbbplayersplits