A package to download headshots of nba players
Project description
nba-headshot-downloader
nba-headshot-downloader is a package for downloading headshots of all nba players from the official NBA website. This package uses ID's from the nba_api package to get the latest available photos of NBA players from media day.
Getting Started
nba-headshot-downloader requires Python version 3.8 or higher as well as the requests package.
pip install nba-headshot-downloader
Downloading Headshots
from nba_headshot_downloader import headshots
headshots.getHeadshotById(2544) # download to root directory
headshots.getHeadshotById(2544, "./assets") # downloads to specified directory
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nba_headshot_downloader-1.0.0.tar.gz.
File metadata
- Download URL: nba_headshot_downloader-1.0.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd3a3851eca28e8cdc88af273e66ade5bcea8c70271ffa7664fd3783b2c0bb0f
|
|
| MD5 |
b3306bcbfa8b583b3c1be8b32d687d42
|
|
| BLAKE2b-256 |
472e0a127e02cddd2a9c080be6bea3ff13f93ff53063562dbd5997d53898fb12
|
File details
Details for the file nba_headshot_downloader-1.0.0-py3-none-any.whl.
File metadata
- Download URL: nba_headshot_downloader-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bc148174f8f3c05b6359d2dd28ea7c5d155afcb604564c3c20a2e017aae6e3d
|
|
| MD5 |
0f700f073cda6132c437ae868e484846
|
|
| BLAKE2b-256 |
dffbfbd5724ded8027ee6c3ac4f24b35f0cee23077948e19412eb11761fe0066
|