Variable: espnWnbaCoachRecord
constespnWnbaCoachRecord:Wrapper<Row[],EspnCoachRecordParams>
Defined in: src/generated/espn/wnba.ts:1016
WNBA — coach record (ESPN sports.core.api.espn.com (core v2)).
Endpoint: GET https://sports.core.api.espn.com/v2/sports/basketball/leagues/wnba/coaches/{coach_id}/record/{record_type}
Param
params.coach_id
number | string — the ESPN coach id.
Param
params.record_type
number | string — the {record_type} path segment; optional; default 0.
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.espnWnbaCoachRecord({ coach_id: '…' });
See
https://js.sportsdataverse.org/docs/wnba/reference/core#espnwnbacoachrecord