Skip to main content

Variable: espnWnbaEventCompetition

const espnWnbaEventCompetition: WrapperFn

Defined in: generated/espn/wnba.ts:871

WNBA — event competition (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}

Param

params.event_id

path parameter.

Param

params.cid

path parameter (optional).

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