README.org
44 lines · 1043 bytes
nba
what
python package. command-line interface to nba scores, standings, stat leaders, playoff picture, and live box scores. one-shot mode and an interactive tui with auto-refresh.
install
git clone https://git.cleberg.net/nba-scores.git
cd nba-scores
pipx install .
tui
nba --tui
flags: - --tui launch the tui - --scores open on the scores tab (default) - --standings open on the standings tab - --refresh N refresh seconds (default 60, min 10)
tabs: scores (s), standings (t), leaders (l), playoff picture (p), bracket (k), box score (b).
keys: 1-9 load a box score, comma and period cycle leader categories, r refresh, q quit.
leader categories: points, rebounds, assists, steals, blocks, efficiency, fg%, ft%, 3p%.
static
nba --scores # -sc, today's scoreboard
nba --standings # -st, conference standings
contributing
fork, add features, open a pull request.