xxhomey19 / nba-go
- среда, 8 ноября 2017 г. в 03:13:27
🏀 💻 The finest NBA CLI.
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.
$ npm install -g nba-go
nba-go
provides two main commands.
There are two things to do.
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. |
In order to show the schedule on some day. nba-go
provides the command nba-go game
with some 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
Check the detailed comparison data between two teams in the game.
Best feature! Realtime updated play-by-play, scoreboard and box score. Turn on fullscreen mode for better experience.
Btw, play-by-play is scrollable!.
Check two teams' detailed scoreboard and box score.
Get player's basic information, regular season data and playoffs data.
Note. Must place player's name between nba-go player
and 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
Get all data at the same time.
$ nba-go player Curry -i -r -p
MIT