Skip to main content

Variable: espnNbaPlayerGamelog

const espnNbaPlayerGamelog: Wrapper<Row[], EspnAthleteGamelogParams>

Defined in: src/generated/espn/nba.ts:346

NBA — player gamelog (ESPN site.web.api.espn.com (web v3)).

Endpoint: GET https://site.web.api.espn.com/apis/common/v3/sports/basketball/nba/athletes/{athlete_id}/gamelog

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

See​

https://js.sportsdataverse.org/docs/nba/reference/web#espnnbaplayergamelog