Skip to main content

Variable: espnWnbaGamePlays

const espnWnbaGamePlays: Wrapper<Row[], EspnEventPlaysParams>

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

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

Endpoint: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/wnba/events/{event_id}/competitions/{cid}/plays

Param​

params.event_id

number | string — the ESPN event (game) id.

Param​

params.cid

number | string — the {cid} path segment; optional; default from event_id.

Param​

params.limit

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

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.espnWnbaGamePlays({ event_id: '…' });

See​

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