balldontlie icon indicating copy to clipboard operation
balldontlie copied to clipboard

Returning averages for all players on a given team

Open treyg opened this issue 4 years ago • 2 comments

This is more of a question, but I can't seem to find a direct way to this, so I think I might be overlooking something.

Is there a way to return only season averages for players only on a given team? Or would I have to just find all the player ids from the player endpoint first, then add them to the season averages endpoint?

Thanks!

treyg avatar Feb 11 '20 20:02 treyg

You would have to do the latter, but it might be a little tricky because we don't track which players are currently active on a team.

ynnadkrap avatar Feb 17 '20 22:02 ynnadkrap

You would have to do the latter, but it might be a little tricky because we don't track which players are currently active on a team.

That's what I figured. Maybe I'll see if I can find just a stat API first, then try to figure it out if not.

Thanks!

treyg avatar Feb 18 '20 23:02 treyg