Jump to content
Fi8sVrs

NBA-GO - The finest NBA CLI

Recommended Posts

  • Active Members

:basketball::computer: The finest NBA CLI.

 

32413609-ea673d3e-c24f-11e7-935b-0a2a86b

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.

  1. game or g
  2. player or p

 

Game

There are two things to do.

  1. Check schedule.
  2. 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 screen shot 2017-11-06 at 8 57 02 am 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 screen shot 2017-11-06 at 8 56 50 am

 

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 screen shot 2017-11-06 at 8 56 14 am

 

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

32413795-0e7d75c2-c254-11e7-8a77-eeabed3

-y or --yesterday

Check yesterday's schedule.

$ nba-go game -y

32414094-8bd4ba98-c25a-11e7-84f0-4fc473d

-t or --today

Check today's schedule.

$ nba-go game -t

32414115-f1a1ad72-c25a-11e7-8c79-a8b9b1e

-T or --tomorrow

Check tomorrow's schedule.

$ nba-go game -T

32414142-7897dfe0-c25b-11e7-9acf-d50ade5

 

Pregame

:star::star:
Check the detailed comparison data between two teams in the game.

 

32414253-ad64df82-c25d-11e7-9076-4da800f

 

Live

:star::star::star:
Best feature! Realtime updated play-by-play, scoreboard and box score. Turn on fullscreen mode for better experience.
Btw, play-by-play is scrollable!.

32420915-3ca6b34a-c2cd-11e7-904d-bf41cc4

 

Final

:star::star:
Check two teams' detailed scoreboard and box score.

 

32436783-1e7ad7b8-c320-11e7-97af-29d9573

 

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

 

32416941-7cfc49e6-c28c-11e7-8a79-15601a4

-r or --regular

Get player's basic information.

$ nba-go player Curry -r

32416897-bb82af9e-c28b-11e7-827f-0f0d67d

 

-p or --playoffs

Get player's basic information.

$ nba-go player Curry -p

32416909-03e46ea8-c28c-11e7-84af-4b40895

 

Mixed them all

Get all data at the same time.

$ nba-go player Curry -i -r -p

32416928-5054d48a-c28c-11e7-84d3-bc17681

 

Related repo:

 

License

MIT

 

Download: nba-go-master.zip

or

git clone https://github.com/xxhomey19/nba-go.git

 

Sources:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...