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

BoxPlayer class missing data that's in Player class? #582

Open
JasonFreeberg opened this issue Sep 29, 2024 · 1 comment
Open

BoxPlayer class missing data that's in Player class? #582

JasonFreeberg opened this issue Sep 29, 2024 · 1 comment

Comments

@JasonFreeberg
Copy link
Contributor

Sport

Football

Summary

I've noticed that there are some properties in the BoxPlayer class which have no value, but do have the data in the base Player class. For example:

image

Logs/Data

print(leage.box_scores(4)[0].home_lineup[1].name)
print(leage.box_scores(4)[0].home_lineup[1].total_points)
print(leage.box_scores(4)[0].home_lineup[1].percent_started)

print(leage.teams[3].roster[1].name)
print(leage.teams[3].roster[1].total_points)
print(leage.teams[3].roster[1].percent_started)

@cwendt94
Copy link
Owner

cwendt94 commented Oct 3, 2024

Thats a good catch. I checked out the data and for box scores EPSN returns just the stats for that week so you won't have some of the full season stats and information that the normal player would have on the teams roster class.

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