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

[Bug] "get_team_roster_player_stats_by_week" returns player stats for a single day, not week #49

Open
drjamm711 opened this issue Nov 16, 2023 · 3 comments · May be fixed by #69
Open
Assignees
Labels
bug Something isn't working

Comments

@drjamm711
Copy link

Description of Issue

I am running query.get_team_roster_player_stats_by_week(team_id=4). The function lists player_points.coverage_type as "week" and player_points.week as "1". When I run the function, it's returning player_points.coverage_type = "date" and then giving the current date, instead of the week. This results in the incorrect stats being displayed.

If I run query.get_team_roster_player_stats_by_week(team_id=4, chosen_week=1), it will choose "2023-10-29" as the "date", when it should display 1 as the week.

Additional Information as Applicable

I'm doing this for Fantasy Basketball. This may not be a bug for Fantasy Football.

Yahoo Fantasy Sports League ID

43993

Yahoo Fantasy Sports League Privacy

Private

Operating System/Environment

Windows

Other

None

@drjamm711 drjamm711 added the bug Something isn't working label Nov 16, 2023
@gameuser1982
Copy link

Any update on this issue @uberfastman

@jcbluemel
Copy link

Experiencing the same here! It looks like it might be taking the stats from final day of that week for each player, rather than the cumulative total of all the days. @uberfastman

@jcbluemel
Copy link

From looking at Yahoo's docs, perhaps a type=week needs to be included as a param?

image

@Kojon74 Kojon74 linked a pull request Feb 20, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants