Skip to main content

Variable: helper_wnba_pbp

const helper_wnba_pbp: (game_id, pbp_txt) => PbpResult = WNBA.pbp

Defined in: src/producers/espn_basketball_pbp.ts:1143

WNBA cleaned game dict (sdv-py helper_wnba_pbp(game_id, pbp_txt)): plays, timeouts, ...

Parameters​

game_id​

unknown

The ESPN event id.

pbp_txt​

any

The TRIMMED summary (espn_wnba_pbp(id, { raw: true })); keeps seasonseries.

Returns​

PbpResult

The PbpResult.

Example​

const trimmed = await sdv.wnba.espn_wnba_pbp(401320565, { raw: true });
const game = sdv.wnba.helper_wnba_pbp(401320565, trimmed);

See​

helper_nba_pbp for the required keys, the no-play-by-play case and the errors.