All Projects → homerchen19 → Nba Go

homerchen19 / Nba Go

Licence: mit
🏀 💻 The finest NBA CLI.

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to Nba Go

Nba Live
Watch NBA games in the terminal, the content in Chinese only.
Stars: ✭ 181 (-95.02%)
Mutual labels:  nba, cli, live
Sprintnba
🏀 NBA客户端
Stars: ✭ 629 (-82.69%)
Mutual labels:  nba, live
NBA-Fantasy-Optimizer
NBA Daily Fantasy Lineup Optimizer for FanDuel Using Python
Stars: ✭ 21 (-99.42%)
Mutual labels:  nba, basketball
Nbash
观看NBA比分直播,球员数据的命令行程序。
Stars: ✭ 176 (-95.16%)
Mutual labels:  nba, cli
Mutateful
Add-on for Ableton Live that enables live coding functionality fully integrated into Live's session view.
Stars: ✭ 290 (-92.02%)
Mutual labels:  cli, live
Static React
Zero-configuration CLI React static renderer
Stars: ✭ 358 (-90.15%)
Mutual labels:  cli
Php 7 Debian
Install PHP 7 on Debian/Ubuntu
Stars: ✭ 361 (-90.07%)
Mutual labels:  cli
Racket Rash
The Reckless Racket Shell
Stars: ✭ 358 (-90.15%)
Mutual labels:  cli
Syncpack
Manage multiple package.json files, such as in Lerna Monorepos and Yarn/Pnpm Workspaces
Stars: ✭ 356 (-90.2%)
Mutual labels:  cli
Jaggr
JSON Aggregation CLI
Stars: ✭ 365 (-89.96%)
Mutual labels:  cli
Corgi
Corgi is a command-line workflow manager that helps with your repetitive command usages by organizing them into reusable snippet
Stars: ✭ 365 (-89.96%)
Mutual labels:  cli
Grow
A declarative website generator designed for high-quality websites, with a focus on easy maintenance and localization.
Stars: ✭ 360 (-90.09%)
Mutual labels:  cli
Vultr
🐧 Vultr CLI and API client library
Stars: ✭ 357 (-90.18%)
Mutual labels:  cli
Instagramlive Php
A PHP script that allows for you to go live on Instagram with any streaming program that supports RTMP!
Stars: ✭ 362 (-90.04%)
Mutual labels:  live
Reminders Cli
A simple CLI for interacting with macOS reminders
Stars: ✭ 354 (-90.26%)
Mutual labels:  cli
Mirrorbits
Mirrorbits is a geographical download redirector written in Go for distributing files efficiently across a set of mirrors.
Stars: ✭ 365 (-89.96%)
Mutual labels:  cli
Colorls
A Ruby gem that beautifies the terminal's ls command, with color and font-awesome icons. 🎉
Stars: ✭ 3,896 (+7.21%)
Mutual labels:  cli
Fanficfare
FanFicFare is a tool for making eBooks from stories on fanfiction and other web sites.
Stars: ✭ 359 (-90.12%)
Mutual labels:  cli
S3cmd
Official s3cmd repo -- Command line tool for managing Amazon S3 and CloudFront services
Stars: ✭ 3,767 (+3.66%)
Mutual labels:  cli
Cryptoetf
Portfolio Overview Tool for Your CryptoCoin Capitalization-Weighted Portfolio.
Stars: ✭ 358 (-90.15%)
Mutual labels:  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 those who are both NBA fans and Engineers.

All data comes from stats.nba.com APIs.

Install

In order to use nba-go, make sure that you have Node version 6.0.0 or higher.

$ npm install -g nba-go

Or in a Docker Container:

$ docker build -t nba-go:latest .
$ docker run -it nba-go:latest

By default, the docker container will run nba-go game -t, but you can override this command at run time.
For example:

$ docker run -it nba-go:latest nba-go player Curry -i

Or download the latest version pkg binaries in releases. It can be run on Linux, macOs and Windows.
For example:

./nba-go-macos game -h

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.

Depending on the status of the game you chose, a different result will be shown. There are three kinds of statuses that may be displayed.

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 days, 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

game -d gif

-y or --yesterday

Check yesterday's schedule.

$ nba-go game -y

game -y gif

-t or --today

Check today's schedule.

$ nba-go game -t

game -t gif

-T or --tomorrow

Check tomorrow's schedule.

$ nba-go game -T

game -T gif

-n or --networks

Display on schedule home team and away team television network information.

$ nba-go game -n

Pregame

⭐️⭐️
Check the detailed comparison data between two teams in the game.

pregame

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!.

live

Final

⭐️⭐️
Check two teams' detailed scoreboard and box score.

final

Filter

Filter results to quickly jump to the info you care about

Options

-f or --filter

Currently only supports filtering the results by team but more options on the way

nba-go game --filter team=Detroit

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

player -i gif

-r or --regular

Get player's basic information.

$ nba-go player Curry -r

player -r gif

-p or --playoffs

Get player's basic information.

$ nba-go player Curry -p

player -p gif

-c or --compare

Get and compare the stats from multiple players. The better stat will be highlighted in green to make comparing easier. When listing the multiple names they must be in quotes and seperated by commas. Can be combined with the -i, -r, and -p flags.

$ nba-go player "Lebron James, Stephen Curry, James Harden" -c -i -r -p

player -c gif

Mixed them all

Get all data at the same time.

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

player mixed gif

Development

  • It's simple to run nba-go on your local computer.
  • The following is step-by-step instruction.
$ git clone https://github.com/xxhomey19/nba-go.git
$ cd nba-go
$ yarn
$ NODE_ENV=development node bin/cli.js <command>

Related repo:

License

MIT © xxhomey19

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].