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
Injury Status for BoxPlayer is Incorrect #327
Comments
Yeah that is strange because parsing the injury status is pretty simple. I will have to look through the data and see where ESPN's site is getting the injured status. |
I think this issue should be closed. At least the information for Brian Robinson in week 1 is correct, i.e. he is injured and is out
|
@Kjeldgaard The original issue is still there. If you read the original post and look at the injured field there are only 2 players from 2021 that are marked as injured. I think we can agree that there were more than 2 injured players from 2021. |
@joeyagreco |
@Kjeldgaard I think I do see the issue... it doesn't seem ESPN stores historical league data for non-starters, which is why in my case, a team played Calvin Ridley that week when they were out but it is very uncommon for a team to start a player that is out. So I think you are right in that this is an ESPN issue and not the library's fault for returning this data. |
Thanks @Kjeldgaard and @joeyagreco for looking a little deeper into this! I know in the past ESPN has scrubbed some historical data or they don't keep all of it depending on the API you are calling. |
Sport
Football
Summary
The BoxPlayer object holds information about a performance from a player in a week.
It has fields injured and injuryStatus to represent the player's injury status for that week.
These seem to always be: injured=False and injuryStatus='ACTIVE' whether the player was active or not.
Logs/Data
Example:
Derrick Henry for the 2021 season.
DH missed multiple games due to injury in 2021, yet his BoxPlayer objects have the injured and injuryStatus fields showing he was healthy.
This seems to possibly be an issue with the API itself, as I cannot find a call where there is an accurate injury designation.
Example REST Call: https://fantasy.espn.com/apis/v3/games/ffl/seasons/2021/segments/0/leagues/68827904?view=mMatchupScore&view=mScoreboard&scoringPeriodId=7
(search for '"injured": true' in the response) Only Calvin Ridley ?? shows up.
The text was updated successfully, but these errors were encountered: