I've been working on a Python package that makes it easy to get the underlying data from stats.nba.com for analysis. You can check out the code at https://github.com/bradleyfay/py-goldsberry.
It's fairly robust in terms of the data it provides access to. I spent many hours reading raw html and javascript to make sure I accessed as much data as possible. I'm still trying to build out the usability, documentation, and additional features when I have time, but I wanted to share it with this group as I thought you all might be interested in it.
I'd love any feedback on features or ideas that anyone might have to improve the package and add additional functionality.
Accessing data from stats.nba.com
Re: Accessing data from stats.nba.com
Don't have any specific comments but thanks for sharing the work. It could be useful to others. May not hear much back on it, but sharing is good.