Exploring NBA Data with Python

After a long weekend of NBA All-Star game festivities I stumbled upon Greg Reda's excellent blog post about web scraping on Twitter. In it he goes over how to find and use API's to scrape data from webpages. The example he uses is the NBA's very own stats website, which to my surprise provides a lot of very interesting data. I decided to dig a little deeper and see what I could find. The shot log API from NBA.com returns data about every shot a player took during a game. These data points include how much time was left…

read more...