Commit Graph

15 Commits

Author SHA1 Message Date
Alex Resnick
1ee805901f Fix odds and more (#81)
* fix(odds): Resolve incorrect sport and league parameters in _fetch_odds calls

- Fixed SportsCore._fetch_data() to call _fetch_odds(game) instead of _fetch_odds(game, sport_key, sport_key)
- Updated _fetch_odds method signature to accept only game parameter
- Added _fetch_odds_with_params helper method for sport-specific implementations
- Updated sport-specific managers to use correct sport and league parameters:
  - NFL: football/nfl
  - NCAA Football: football/college-football
  - NCAA Hockey: hockey/mens-college-hockey
- Ensures odds are fetched with correct ESPN API endpoints

Fixes #79

* Fix odds and other things

* update hockey

* fix rankings

* update imports

* Fix Logo Cache

* Add show_favorite_team_only attribute

---------

Co-authored-by: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com>
Co-authored-by: Alex Resnick <adr8282@gmail.com>
2025-09-28 16:34:21 -04:00
Chuck
4771ec8b3b add black buffer behind odds ticker to finish scroll 2025-09-15 18:09:28 -04:00
Chuck
c7634cbf3a NCAA FB odds fix 2025-09-15 16:00:14 -04:00
ChuckBuilds
2b93eafcdf improve odds ticker dynamic duration 2025-08-18 19:23:20 -05:00
Chuck
ac69569d77 logging for why milb api isn't working and cache updates to odds cache storage 2025-08-02 20:02:52 -05:00
Chuck
3a450b717a updates to caching 2025-07-21 21:02:19 -05:00
Chuck
8fb510cb48 filter favorite games before loading the rest for odd ticker 2025-07-20 18:07:55 -05:00
Chuck
1806022657 improve odds format for ticker 2025-07-20 17:49:27 -05:00
Chuck
ca1d56378a cache updates 2025-07-20 16:08:18 -05:00
Chuck
7a5ba6807f MLB gambling display improvements 2025-07-20 15:38:03 -05:00
Chuck
b75552a1ea debugging logging for ESPN odds 2025-07-20 15:30:20 -05:00
Chuck
6d476b403b disable cache to see if that is the problem 2025-07-19 20:05:55 -05:00
Chuck
c571b427e0 changing odds display formatting and adding logging 2025-07-19 17:03:23 -05:00
Chuck
f2b078e4f1 debug logging odds manager 2025-07-19 11:12:57 -05:00
Chuck
aa379e8369 gambling updates 2025-07-18 22:12:33 -05:00