A package for scraping NBA trades and transactions.
Project description
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
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
Close
Hashes for nba_transactions_scraper-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fb29ed7b6874f38187e82afb4affecbe56e4e3f637f15a1236b5f895b0dd71d |
|
MD5 | 95e20383fe01299402fa34fa0a611e61 |
|
BLAKE2b-256 | 0753960a528b69cd4f3a4ffb2e741aec6ef980200533082342f6649c0feca256 |
Close
Hashes for nba_transactions_scraper-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aecf44c74876416e34542fc3bee7fc9833d6bf9d4f9feabc59fde749c17989c6 |
|
MD5 | 18d31f9b702c0e0b4b2f48d242333655 |
|
BLAKE2b-256 | 115367dff5fbeb46add5252f976e74f458a2b3bffe8129eef8ea97a95eb26316 |