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.
Statistical corrections on NBA API?
Moderator: Doctor MJ
Statistical corrections on NBA API?
- shawngoat23
- Lead Assistant
- Posts: 4,622
- And1: 286
- Joined: Apr 17, 2008
Statistical corrections on NBA API?
penbeast0 wrote:Yes, he did. And as a mod, I can't even put him on ignore . . . sigh.
Re: Statistical corrections on NBA API?
-
- Starter
- Posts: 2,225
- And1: 921
- Joined: Nov 17, 2013
Re: Statistical corrections on NBA API?
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.
https://basketball.fantasysports.yahoo.com/nba/140208/statcorrections
You could probably scrape the data you are looking for from there.
Return to Statistical Analysis