ynnadkrap / balldontlie

NBA API
http://www.balldontlie.io
223 stars 19 forks source link

Adding isActive or isCurrent flag for players #69

Open robTrayah opened 2 years ago

robTrayah commented 2 years ago

Trying to figure out what is the active roster can't be done currently without querying for games, grabbing player ids for that team and then querying for that player. Is there a way to add a current flag on the player to make sure they are active?

Example: Most rookies don't have height listed but some have position and vice versa. Therefore, you can't figure out who is truly active on a team.

When I look at the players on the Pistons, Cade Cunningham has the same info as John Salley so I can't find the active roster without further querying.