Closed alexanderthebadatcoding closed 9 months ago
Nice!
I'll be away for much of Thanksgiving break to hang with the kids, but looking forward to playing with this next week.
just have to add something like:
self.draw.text((1, 6), game['away_moneyline'], font=self.font_mini, fill=(0, 255, 0))
self.draw.text((46, 6), game['home_moneyline'], font=self.font_mini, fill=(0, 255, 0))
I may have figured out a way to get game odds from ESPN. This works for the NFL Matrix but it's slow and may need to be improved.
in the nfl_api_parser.py (or NBA) add:
And then add the text results for the "away_moneyline, home_moneyline" to the pre-game renderer.
This works but it slows down the script, so it might need a loading text or image first. Or maybe the code can be optimized.