ynnadkrap / balldontlie

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

Current season averages games played issue #98

Closed timsj closed 1 year ago

timsj commented 1 year ago

I've been looking at the current season (2022) averages, and it seems that some players' "games_played" number is 1 higher than in actuality, which brings down their averages since another game of 0 pts, rebs, asts, etc are erroneously added to the avg calculation in the serializer.

It seems to be only affecting players who are going to play another game that day. I am assuming the issue has something to do with how the data retrieval script is handled.