Split the odds fetch from the games fetch in NflApi #425

Closed
opened 2026-08-25 14:11:50 +02:00 by johnsturgeon · 0 comments
Owner

This was split off from #411

This was the comment as written, but I need to internalize exactly what I want to do

(tank01_api.py:256) unconditionally calls self.odds_data, which loops
/getNFLBettingOdds once per distinct game date — 3–4 calls every time
anything just wants kickoff times. Once odds_state exists (#408) a
locked week never wants odds again, but flex scheduling means the
schedule still gets re-fetched all week. A flag or a separate property is
enough; callers that want both are unaffected.
Bites: every poll of a locked week, on a metered plan.

This was split off from #411 This was the comment as written, but I need to internalize exactly what I want to do > (tank01_api.py:256) unconditionally calls self.odds_data, which loops > /getNFLBettingOdds once per distinct game date — 3–4 calls every time > anything just wants kickoff times. Once odds_state exists (#408) a > locked week never wants odds again, but flex scheduling means the > schedule still gets re-fetched all week. A flag or a separate property is > enough; callers that want both are unaffected. > Bites: every poll of a locked week, on a metered plan.
johnsturgeon added this to the (deleted) project 2026-08-25 14:54:27 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
johnsturgeon/tgfp-web#425
No description provided.