Skip to main content

Variable: espnWnbaGameOfficialDetail

const espnWnbaGameOfficialDetail: Wrapper<Row[], EspnEventOfficialDetailParams>

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

WNBA — game official detail (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}/officials/{official_id}

Param​

params.event_id

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

Param​

params.official_id

number | string — the {official_id} path segment.

Param​

params.cid

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

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

See​

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