Skip to main content

Variable: helper_wbb_pickcenter

const helper_wbb_pickcenter: (pbp_txt) => Init = WBB.pickcenter

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

WBB pickcenter metadata (sdv-py helper_wbb_pickcenter(pbp_txt)): spread / over-under (default 130.5) / home favorite / availability as plain scalars.

Parameters​

pbp_txt​

any

The trimmed game dict (or any ESPN summary payload); reads pickcenter.

Returns​

Init

{ gameSpread, overUnder, homeFavorite, gameSpreadAvailable }.

Example​

const summary = await sdv.wbb.espnWbbSummary({ event_id: 401587390 });
const init = sdv.wbb.helper_wbb_pickcenter(summary);

See​

helper_nba_pickcenter for the provider order, favorite and default rules.