Skip to main content

Variable: espnWnbaGames

const espnWnbaGames: Wrapper<Row[], EspnEventsParams>

Defined in: src/generated/espn/wnba.ts:1991

WNBA — games (ESPN sports.core.api.espn.com (core v2)).

Endpoint: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/wnba/events

Param​

params.dates

number | string — a date YYYYMMDD, a range YYYYMMDD-YYYYMMDD or a season year YYYY.

Param​

params.limit

number | string — the maximum number of items to return; default 500.

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

See​

https://js.sportsdataverse.org/docs/wnba/reference/core#espnwnbagames