Skip to main content

Variable: espnMbbPlayerAwards

const espnMbbPlayerAwards: Wrapper<Row[], EspnAthleteAwardsParams>

Defined in: src/generated/espn/mbb.ts:174

MBB — player awards (ESPN sports.core.api.espn.com (core v2)).

Endpoint: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/athletes/{athlete_id}/awards

Param​

params.athlete_id

number | string — the ESPN athlete id.

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.espnMbbPlayerAwards({ athlete_id: '…' });

See​

https://js.sportsdataverse.org/docs/mbb/reference/core#espnmbbplayerawards