/nbacli

🏀 The NBA in your terminal

Primary LanguageGoMIT LicenseMIT

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.