nbacli

command module
v0.0.0-...-6215870 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 1 Imported by: 0

README

nbacli is an UNOFFICIAL command line interface for NBA games.

⚡️ Features

🏀 Get the latest scores for NBA games

📊 Get the stats for a specific games

⛹️ Much more is yet to come - stay tuned!

⚙️ Installation

Binaries

Binaries are available for Linux, macOS, and Windows. You can download the latest version from the releases page.

From source

git clone https://github.com/dylantientcheu/nbacli.git && cd nbacli

# insall
go install

# run
nbacli games

Note When building from source, make sure that $GOPATH/bin is in your PATH environment variable

Homebrew

brew tap dylantientcheu/dylantientcheu && brew install nbacli

# run
nbacli games

📖 Usage

Get the latest scores

nbacli games

Navigate through the games using the ↑ arrow keys ↓ and press Enter to get the stats for a specific game.

# Get the stats for the day before
nbacli games --yesterday
# or the day after
nbacli games --tomorrow
# or a specific date
nbacli games --date YYYYMMDD

Get the conference standings

nbacli standings

Highlight rows ↑ ↓ and press Tab to switch tabs.

Alt text

⌨️ Under the hood

📝 License

Refer to LICENSE.md.

Documentation

Overview

Copyright © 2022 Dylan Tientcheu hi@dylantientcheu.dev

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL