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

League current_week field returns 0 #471

Open
TalkAboutOdd opened this issue Sep 30, 2023 · 8 comments
Open

League current_week field returns 0 #471

TalkAboutOdd opened this issue Sep 30, 2023 · 8 comments

Comments

@TalkAboutOdd
Copy link

Sport

Football

Summary

Getting the league current week field returns 0, despite the league being multiple weeks in. This is also impacting the available keys within a player's stats dict, with only 0,1 being available. Problem occurs in both a regularly operating league, as well as an "empty" league used to keep all players within the free agents category.

Logs/Data

No response

@TalkAboutOdd
Copy link
Author

nfl_week also returns 0

@TalkAboutOdd
Copy link
Author

behavior is inconsistent, players occasionally show up with three weeks worth of stats but no fourth week and/or projections

@TalkAboutOdd
Copy link
Author

Player's returned via player_info do not contain projection info, yet players returned via free_agents or team.roster do

@cwendt94
Copy link
Owner

cwendt94 commented Oct 2, 2023

Thats strange, my league is returning the correct week. Is it still happening now? Maybe ESPN had a weird bug going on at that time.

@tkauffman42
Copy link
Contributor

tkauffman42 commented Oct 5, 2023

Has your league been started? I ran into the same issue with a league I use, like you, as an open league for generating data. If I am using the league that I am participating in, it returns NFL Week and the played week correctly

@shaggycamel
Copy link

My league.current_week instance seems to increment one per day. If this is, in fact, what it is supposed to reflect, should it renamed to current_day?

@cwendt94
Copy link
Owner

cwendt94 commented Nov 1, 2023

Mine is currently showing the current week 9 what type of league is yours?

@shaggycamel
Copy link

shaggycamel commented Nov 1, 2023

The NBA league. Mine is showing nine too.

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

4 participants