This project is in no way affiliated with
basketball-reference.com (and I
hope the fine folks at Basketball Reference do not get too upset at me for creating and maintaining this project).
Please use this project responsibly as Basketball Reference is a very useful resource.
This library was created for another Python project where I was trying to estimate an NBA player's productivity
daily fantasy sports "science").
A lot of sports-related APIs are expensive - luckily, Basketball Reference provides a free service which can be scraped and translated into a usable API.
It can be installed via
pip install basketball_reference_web_scraper
This library requires
Currently, only data from seasons after the
1999-2000 season is supported
There are currently two supported major versions -
This is an open-source project that welcomes all pull requests and issues - I would love to hear your thoughts and ideas around making this project even better.