Variable: helper_wbb_pbp
consthelper_wbb_pbp: (game_id,pbp_txt) =>PbpResult=WBB.pbp
Defined in: src/producers/espn_basketball_pbp.ts:1255
WBB cleaned game dict (sdv-py helper_wbb_pbp(game_id, pbp_txt)): plays, timeouts, ...
Parameters
game_id
unknown
The ESPN event id; coerced with int() for gameId (a decimal string).
pbp_txt
any
The TRIMMED summary (espn_wbb_pbp(id, { raw: true })); no seasonseries.
Returns
The PbpResult.
Example
const trimmed = await sdv.wbb.espn_wbb_pbp(401587390, { raw: true });
const game = sdv.wbb.helper_wbb_pbp(401587390, trimmed);
See
helper_nba_pbp for the required keys, the no-play-by-play case and the errors.