Skip to main content

Variable: espnMbbCdnSchedule

const espnMbbCdnSchedule: Wrapper<Row[], EspnCdnScheduleParams>

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

MBB — cdn schedule (ESPN cdn.espn.com (espn.com page data)).

Endpoint: GET https://cdn.espn.com/core/mens-college-basketball/schedule?xhr=1

Param​

params.date

number | string — Single date (YYYYMMDD). Ignored by cfb and nfl, which are week-oriented. Defaults to today.

Param​

params.week

number | string — Week number (cfb and nfl).

Param​

params.season

number | string — Season year that week belongs to (cfb and nfl).

Param​

params.season_type

number | string — Season phase for week: 1=preseason, 2=regular season, 3=postseason (cfb and nfl).

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.espnMbbCdnSchedule({});

See​

https://js.sportsdataverse.org/docs/mbb/reference/cdn#espnmbbcdnschedule