Skip to content

dylantientcheu/nbacli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

73 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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.