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

Expand Team Player Data on League Initialization #633

Open
cwendt94 opened this issue Feb 4, 2025 · 0 comments
Open

Expand Team Player Data on League Initialization #633

cwendt94 opened this issue Feb 4, 2025 · 0 comments

Comments

@cwendt94
Copy link
Owner

cwendt94 commented Feb 4, 2025

Sport

All

Summary

On League initialization look into adding a single call to the get_player_card endpoint with all the playerIds on Teams roster. This will create the Player class that can then be passed to Team class and will have the expanded stats for all the players.

Move the player_info into base league so that it will be inherited by all sports. Possibly look at adding player news as well for all Team rosters. This would be an added api call in the player_info functionality.

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

1 participant