Baseball - Percent Owned #638
Answered
by
erikshelley
erikshelley
asked this question in
Ideas
-
|
In the free_agents function in the League object it appears that the results are sorted by percent owned (% rostered). Can we get percent owned exposed as an attribute in the Player object? It would also be helpful to have access to whether they are a free agent or on waivers. |
Beta Was this translation helpful? Give feedback.
Answered by
erikshelley
Mar 28, 2025
Replies: 1 comment 1 reply
-
|
It turns out adding percent owned is a one line addition in player.py Adding free agent vs waivers is also one line in player.py Would you like me to do a pull request? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
cwendt94
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It turns out adding percent owned is a one line addition in player.py
self.percentOwned = json_parsing(data, 'percentOwned')Adding free agent vs waivers is also one line in player.py
self.status = json_parsing(data, 'status')Would you like me to do a pull request?