Fantasy-Premier-League icon indicating copy to clipboard operation
Fantasy-Premier-League copied to clipboard

Player injury info

Open alanjeffares opened this issue 5 years ago • 8 comments

It would be useful to have some indication of if a player was injured in a given gameweek (beyond just seeing their minutes are 0). This doesn't seem to be under https://fantasy.premierleague.com/api/element-summary/123/ but it is tracked by fpl to some degree. For example chance_of_playing_next_round, chance_of_playing_this_round and news in https://fantasy.premierleague.com/api/bootstrap-static/ . However this seems to only be current info. Might this be something worth capturing? If so are historic info for these fields stored anywhere?

alanjeffares avatar Jan 10 '20 15:01 alanjeffares

Sadly, I have no way of going back and adding this data for past gws. But, this can be done for the 20-21 season onwards.

vaastav avatar Jun 22 '20 07:06 vaastav

Just wondering if this ever got added? I can't seem to find anywhere.

AndrewBoney avatar Apr 09 '21 22:04 AndrewBoney

That is why i think it would be interesting to save all JSON without any transformation so that we can go back to the historic json to extract fields. Is it possible ?

amedprof avatar Aug 18 '21 20:08 amedprof

Most of the information from the JSON is usually parsed. The only thing possibly missing is the injury info and I haven't gotten around to add it.

vaastav avatar Aug 24 '21 08:08 vaastav

any idea where this data can be found if not In the datasets? I'm trying to find historical data around injuries but it's evading me. :(

ScratZa avatar May 01 '22 14:05 ScratZa

You can try checking out the repository at every single commit in its history and then use the version of the raw json file to extract the injury data.

vaastav avatar May 09 '22 08:05 vaastav

@alanjeffares, did you manage to compile the historical injury and suspension data?

zentico avatar May 07 '24 17:05 zentico

@alanjeffares, did you manage to compile the historical injury and suspension data?

No, this is not something I will have time to do, unfortunately.

alanjeffares avatar May 09 '24 09:05 alanjeffares