Skip to main content

Variable: espnMbbTeamSchedule

const espnMbbTeamSchedule: Wrapper<Row[], EspnTeamScheduleParams>

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

MBB — team schedule (ESPN site.api.espn.com).

Endpoint: GET https://site.api.espn.com/apis/site/v2/sports/basketball/mens-college-basketball/teams/{team_id}/schedule

Param​

params.team_id

number | string — the ESPN team id (see espn_<league>_teams).

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.mbb.espnMbbTeamSchedule({ team_id: '…' });

See​

https://js.sportsdataverse.org/docs/mbb/reference/site#espnmbbteamschedule