Type Alias: PbpResult
PbpResult =
Record<string,any> &object
Defined in: src/producers/espn_basketball_pbp.ts:857
The cleaned game dict helper_<lg>_pbp returns: gameId (a decimal string), plays
(Row[], [] when the game has no play-by-play), timeouts
({ [teamId]: { "1": playIds, "2": playIds } } split by half) and the summary's own
winprobability, boxscore, header, format, broadcasts, videos, playByPlaySource,
standings, article, leaders, pickcenter, againstTheSpread, odds, predictor,
espnWP, gameInfo, teamInfo and season (plus seasonseries for NBA / WNBA).
Type Declaration
plays
plays:
Row[]
timeouts
timeouts:
Record<string,Record<string,unknown[]>>
Remarks
teamInfo is header.competitions[0], which gains home / away (the two team
objects); the timeouts' play ids are the same decimal strings as the plays rows' id.