GitHub - dylantientcheu/nbacli: 🏀 The NBA in your terminal

2 min read Original article ↗

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

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

Highlight rows ↑ ↓ and press Tab to switch tabs.

Alt text

âŒ¨ī¸ Under the hood

📝 License

Refer to LICENSE.md.