Skip to main content

Variable: espnNbaTeamDepthcharts

const espnNbaTeamDepthcharts: WrapperFn

Defined in: generated/espn/nba.ts:2974

NBA — team depthcharts (ESPN site.api.espn.com).

Endpoint: GET https://site.api.espn.com/apis/site/v2/sports/basketball/nba/teams/{team_id}/depthcharts

Param

params.team_id

path 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.nba.espnNbaTeamDepthcharts({ team_id: '…' });