Statistical corrections on NBA API?

Moderator: Doctor MJ

User avatar
shawngoat23
Lead Assistant
Posts: 4,622
And1: 286
Joined: Apr 17, 2008

Statistical corrections on NBA API? 

Post#1 » by shawngoat23 » Wed Apr 3, 2019 11:00 am

I've been using the NBA API (via a Python wrapper) to scrape player stats, recent splits, and box scores, but I figured I wouldn't have to download the splits if I just calculated splits from previously saved box scores. An additional advantage of this approach is that I would be able to perform more sophisticated queries on games of interest on my locally saved database (e.g. "how does player X perform in games when Y does not play?")

My main concern is that the NBA often issues statistical corrections to individual box scores, often days or even weeks later, and I am not aware of any way by which I could check for these errata via the API. I would not want to do this manually as it would defeat the point of using an automated script.
penbeast0 wrote:Yes, he did. And as a mod, I can't even put him on ignore . . . sigh.
Knosh
Starter
Posts: 2,225
And1: 921
Joined: Nov 17, 2013
   

Re: Statistical corrections on NBA API? 

Post#2 » by Knosh » Sun Apr 14, 2019 2:19 pm

I'm not aware how to get it from nba.stats.com, but I found this:
https://basketball.fantasysports.yahoo.com/nba/140208/statcorrections

You could probably scrape the data you are looking for from there.

Return to Statistical Analysis