The finest NBA CLI.
Watch NBA live play-by-play, game preview, box score and player information on your console.
Best CLI tool for who is both a NBA fans and Engineer.
All data comes from stats.nba.com APIs.
Install
$ npm install -g nba-go
Usage
nba-go
provides two main commands.
game
or g
player
or p
Game
There are two things to do.
- Check schedule.
- Choose one game which you want to watch.
Depends on the status of the game you chose, it shows different result for you. There are three kinds of status may happened.
Status | Example | Description |
---|
Pregame | | It shows when the game starts. Selecting this will show the comparison between two teams, including average points, field goal percents, average assists, etc. |
Live | | It shows live game clock. Most powerful feature! Selecting this will show the live page which includes scoreboard, play-by-play and box score. |
Final | | Selecting this will show scoreboard, detailed box score, etc. |
Check schedule
In order to show the schedule on some day. nba-go
provides the command nba-go game
with some options.
Options
-d <date>
or --date <date>
Enter a specific date to check the schedule on that day.
$ nba-go game -d 2017/11/02
-y
or --yesterday
Check yesterday's schedule.
$ nba-go game -y
-t
or --today
Check today's schedule.
$ nba-go game -t
-T
or --tomorrow
Check tomorrow's schedule.
$ nba-go game -T
Pregame
⭐️⭐️
Check the detailed comparison data between two teams in the game.
Live
⭐️⭐️⭐️
Best feature! Realtime updated play-by-play, scoreboard and box score. Turn on fullscreen mode for better experience.
Btw, play-by-play is scrollable!.
Final
⭐️⭐️
Check two teams' detailed scoreboard and box score.
Player
Get player's basic information, regular season data and playoffs data.
Note. Must place player's name between nba-go player
and options.
Options
-i
or --info
Get player's basic information.
$ nba-go player Curry -i
-r
or --regular
Get player's basic information.
$ nba-go player Curry -r
-p
or --playoffs
Get player's basic information.
$ nba-go player Curry -p
Mixed them all
Get all data at the same time.
$ nba-go player Curry -i -r -p
Related repo:
License
MIT