NBA Trades and Transactions Scraper
This is a simple library to scrape NBA ProSports trades and transactions data.
Usage
pip install nba-transactions-scraper
Methods
run(team, start, end)
returns a Pandas dataframe of NBA transactions for a specific team from start date to end date (defaults to current date). Date format: ('yyyy-mm-dd')
Example
from nba_transactions_scraper.main import ProSports_Scraper
scraper = ProSports_Scraper()
results = scraper.run('Lakers', '2021-01-01')
Next Additions
-
Multi-team argument
-
Extracting trade $ values
-
Draft Pick transactions
-
Category of transactions
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Metadata
Release files for nba-transactions-scraper 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nba_transactions_scraper-1.1.0.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nba_transactions_scraper-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / nba_transactions_scraper-1.1.0.tar.gz
| Download URL | nba_transactions_scraper-1.1.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
240493bc3470a9f44a8bde0d5ea1510c607d2f96f7f6ff52bf35c2ee9fe3bfb4
|
|
BLAKE2b-256 checksum How to use checksums |
db9707319f56c4eee4af29571f60269967b8452f607d71f5b85c1c7875897a85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.11
|
Release files / nba_transactions_scraper-1.1.0-py3-none-any.whl
| Download URL | nba_transactions_scraper-1.1.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2859a0d66d29075252b9fbb6054c006bd1e49439d074d5e05ee751edc49d434b
|
|
BLAKE2b-256 checksum How to use checksums |
b11e8dd7f1ec1797f1fe87a9ccb4b39c5c8f33094c3eb0a5d98cfc1477e4ccc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.11
|