Skip to main content

Variable: espnWnbaSummary

const espnWnbaSummary: WrapperFn

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

WNBA — summary (ESPN site.api.espn.com).

Endpoint: GET https://site.api.espn.com/apis/site/v2/sports/basketball/wnba/summary

Param

params.event_id

query parameter (ESPN event).

Param

params.parsed

when true, route the payload through this endpoint's tidy.js parser and return rows instead of raw JSON.

Param

params.section

(with parsed: true) return just one named sub-frame (e.g. boxscore, plays, winprobability) instead of the object of all summary sub-frames.

Returns

Raw ESPN JSON by default; a tidy array of row objects when called with { parsed: true } (an object of sub-frames, or the chosen section).

Example

await sdv.wnba.espnWnbaSummary({});