Skip to main content

Variable: espnWbbPlayerNews

const espnWbbPlayerNews: Wrapper<Row[], EspnAthleteNewsParams>

Defined in: src/generated/espn/wbb.ts:437

WBB — player news (ESPN site.api.espn.com).

Endpoint: GET https://site.api.espn.com/apis/site/v2/sports/basketball/womens-college-basketball/athletes/{athlete_id}/news

Param​

params.athlete_id

number | string — the ESPN athlete 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.wbb.espnWbbPlayerNews({ athlete_id: '…' });

See​

https://js.sportsdataverse.org/docs/wbb/reference/site#espnwbbplayernews