From c014d1a2f6a5418515ffd94e8ec156bf4de4af4f Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 21 Sep 2020 19:14:16 -0700 Subject: [PATCH] Injured boolean status --- espn_api/football/player.py | 1 + 1 file changed, 1 insertion(+) diff --git a/espn_api/football/player.py b/espn_api/football/player.py index 94ec2b8a..20b34478 100644 --- a/espn_api/football/player.py +++ b/espn_api/football/player.py @@ -22,6 +22,7 @@ def __init__(self, data): # set each scoring period stat player = data['playerPoolEntry']['player'] if 'playerPoolEntry' in data else data['player'] self.injuryStatus = player.get('injuryStatus', self.injuryStatus) + self.injured = player.get('injured', False) player_stats = player.get('stats') for stats in player_stats: