Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get projected score of games of final completed week of season #517

Open
bdf0506 opened this issue Dec 26, 2023 · 1 comment
Open

Comments

@bdf0506
Copy link

bdf0506 commented Dec 26, 2023

Sport

Football

Summary

Unable to get the projected score of the final week - it shows the projected scores to equal the final scores.

Logs/Data

>>> from espn_api.football import League
>>> league = League(league_id=xxxxx, year=2023, espn_s2='xxxx', swid='xxxx')
>>> box_scores = league.box_scores(16)
>>> box_scores[0].away_score
134.64
>>> box_scores[0].away_projected
134.64
>>> 

But going back to week 15, all is well in the world:

>>> box_scores = league.box_scores(15)
>>> box_scores[0].away_projected
108.38999999999999
>>> box_scores[0].away_score
115.42

Trying another league, week 16 (where it is NOT the final week of the league), it pulls the week 16 projected scores without issue.

@dtcarls
Copy link
Contributor

dtcarls commented Dec 28, 2023

Having a similar issue with 2 week playoffs, I expect it is related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants