A small example package
Project description
Opponent Adjusted NBA Scraper
This is a package that collects data from stats.nba.com and provides methods focused on adjusting a player's statistics by their opponents defensive strength.
Installing
Via pip
Install using the following command:
pip install opponent_adjusted_nba_scraper
Via GitHub
Or, you can clone this repo to a Git repository on your local machine.
About
This is my first time writing a PyPi package, and I'm glad I decided to do this because it makes the process of adjusting player's stats that I've worked on for years a lot easier and faster. The stats required for this scraper only go back to the 1996-97 season, which would not have been the case if I had used basketball-reference. However, I couldn't find a way to access playoff stats on bball-ref, so I'm hoping to find a way to access these stats and update this scraper to allow for searches before the '97 season.
API
You can find the full details for this API here.
Credits
I borrowed the implementation for lookup.py
and the names of all NBA players up to the 2020-21 season in names.txt
from Vishaal Agartha.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for opponent_adjusted_nba_scraper-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9737b1c79ae6a1978e1103f0e3e8f60ed55306ad7300b67fa12396a94ed34f86 |
|
MD5 | 022b2ed1accccf2bfe8b48cf094064c5 |
|
BLAKE2b-256 | dd562569d4d8d3b83dfecf1be254536c0d888230a367ab00affb6d679559b9a6 |
Hashes for opponent_adjusted_nba_scraper-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6b64db8b0fc8245769790fb086d592e3cd13e3e2707d388a3ed1243b7eba983 |
|
MD5 | d739bf5837fd1161856b54068ab8b7de |
|
BLAKE2b-256 | f2b84d57732a13b409eb4cdcaf38a1a7c2213b3e6f753e5092644f4ae90b4c78 |