Skip to main content

Variable: espnMbbAthleteStats

const espnMbbAthleteStats: WrapperFn

Defined in: generated/espn/mbb.ts:501

MBB — athlete stats (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}/stats

Param

params.athlete_id

path parameter.

Param

params.season

query parameter.

Param

params.parsed

when true, route the payload through this endpoint's tidy.js parser and return rows instead of raw JSON.

Returns

Raw ESPN JSON by default; a tidy array of row objects when called with { parsed: true }.

Example

await sdv.mbb.espnMbbAthleteStats({ athlete_id: '…' });