Skip to main content

Variable: espnWbbPlayerCareerStats

const espnWbbPlayerCareerStats: Wrapper<Row[], EspnAthleteCareerStatsParams>

Defined in: src/generated/espn/wbb.ts:235

WBB — player career stats (ESPN sports.core.api.espn.com (core v2)).

Endpoint: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/womens-college-basketball/athletes/{athlete_id}/statistics[/{stat_type}]

Param​

params.athlete_id

number | string — the ESPN athlete id.

Param​

params.stat_type

number | string — the {stat_type} path segment; optional.

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

See​

https://js.sportsdataverse.org/docs/wbb/reference/core#espnwbbplayercareerstats