{"id":13544767,"url":"https://github.com/homerchen19/nba-go","last_synced_at":"2025-05-14T23:05:51.500Z","repository":{"id":39746484,"uuid":"108231108","full_name":"homerchen19/nba-go","owner":"homerchen19","description":"🏀 💻 The finest NBA CLI.","archived":false,"fork":false,"pushed_at":"2023-01-09T22:06:35.000Z","size":959,"stargazers_count":3711,"open_issues_count":56,"forks_count":220,"subscribers_count":55,"default_branch":"master","last_synced_at":"2025-04-13T19:50:00.286Z","etag":null,"topics":["basketball","box-score","cli","javascript","live","nba","scoreboard"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/nba-go","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/homerchen19.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-25T06:47:38.000Z","updated_at":"2025-04-06T21:58:54.000Z","dependencies_parsed_at":"2023-02-08T14:31:41.293Z","dependency_job_id":null,"html_url":"https://github.com/homerchen19/nba-go","commit_stats":null,"previous_names":["xxhomey19/nba-go"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homerchen19%2Fnba-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homerchen19%2Fnba-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homerchen19%2Fnba-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homerchen19%2Fnba-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/homerchen19","download_url":"https://codeload.github.com/homerchen19/nba-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254243358,"owners_count":22038046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["basketball","box-score","cli","javascript","live","nba","scoreboard"],"created_at":"2024-08-01T11:00:53.178Z","updated_at":"2025-05-14T23:05:46.484Z","avatar_url":"https://github.com/homerchen19.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","JavaScript (485)"],"sub_categories":[],"readme":"\u003cp align=center\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/12113222/32413609-ea673d3e-c24f-11e7-935b-0a2a86be0ee2.png\"\u003e\n\u003c/p\u003e\n\u003cp align=center\u003e\n\u003ca target=\"_blank\" href=\"https://npmjs.org/package/nba-go\" title=\"NPM version\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/nba-go.svg\"\u003e\u003c/a\u003e\n\u003ca target=\"_blank\" href=\"https://travis-ci.org/xxhomey19/nba-go\" title=\"Build Status\"\u003e\u003cimg src=\"https://travis-ci.org/xxhomey19/nba-go.svg?branch=master\"\u003e\u003c/a\u003e\n\u003ca target=\"_blank\" href=\"http://nodejs.org/download/\" title=\"Node version\"\u003e\u003cimg src=\"https://img.shields.io/badge/node.js-%3E=_6.0-green.svg\"\u003e\u003c/a\u003e\n\u003ca target=\"_blank\" href=\"https://opensource.org/licenses/MIT\" title=\"License: MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\"\u003e\u003c/a\u003e\n\u003ca target=\"_blank\" href=\"http://makeapullrequest.com\" title=\"PRs Welcome\"\u003e\u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003e The finest NBA CLI.\n\nWatch NBA live play-by-play, game preview, box score and player information on your console.  \nBest CLI tool for those who are both **NBA fans** and **Engineers**.\n\nAll data comes from [stats.nba.com](http://stats.nba.com/) APIs.\n\n## Install\n\nIn order to use nba-go, make sure that you have [Node](https://nodejs.org/) version 6.0.0 or higher.\n\n```\n$ npm install -g nba-go\n```\n\nOr in a Docker Container:\n\n```\n$ docker build -t nba-go:latest .\n$ docker run -it nba-go:latest\n```\n\nBy default, the docker container will run `nba-go game -t`, but you can\noverride this command at run time.  \nFor example:\n\n```\n$ docker run -it nba-go:latest nba-go player Curry -i\n```\n\nOr download the latest version [pkg](https://github.com/zeit/pkg) binaries in [releases](https://github.com/xxhomey19/nba-go/releases). It can be run on Linux, macOs and Windows.  \nFor example:\n\n```\n./nba-go-macos game -h\n```\n\n## Usage\n\n`nba-go` provides two main commands.\n\n1. [`game` or `g`](#game)\n2. [`player` or `p`](#player)\n\n### Game\n\nThere are two things to do.\n\n1. [**Check schedule**](#check-schedule).\n2. Choose one game which you want to watch.\n\nDepending on the status of the game you chose, a different result will be shown. There are three kinds of statuses that may be displayed.\n\n| Status              | Example                                                                                                                                                                 | Description                                                                                                                                                             |\n| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| [Pregame](#pregame) | \u003cimg alt=\"screen shot 2017-11-06 at 8 57 02 am\" src=\"https://user-images.githubusercontent.com/12113222/32421167-8a3521d4-c2d0-11e7-9ae3-be1c0def1b71.png\"\u003e             | It shows **when the game starts**. \u003cbr\u003e Selecting this will show the comparison between two teams, including average points, field goal percents, average assists, etc. |\n| [Live](#live)       | \u003cimg alt=\"screen shot 2017-11-06 at 8 56 50 am\" src=\"https://user-images.githubusercontent.com/12113222/32421177-adc7ae5a-c2d0-11e7-9824-a4de7c40a5e4.png\"\u003e             | It shows **live game clock**. \u003cbr\u003e **Most powerful feature!** Selecting this will show the live page which includes scoreboard, play-by-play and box score.             |\n| [Final](#final)     | \u003cimg width=\"600\" alt=\"screen shot 2017-11-06 at 8 56 14 am\" src=\"https://user-images.githubusercontent.com/12113222/32421166-8a08dde0-c2d0-11e7-8a38-69f646786653.png\"\u003e | Selecting this will show scoreboard, detailed box score, etc.                                                                                                           |\n\n#### Check schedule\n\nIn order to show the schedule on some days, `nba-go` provides the command `nba-go game` with some options.\n\n#### Options\n\n##### `-d \u003cdate\u003e` or `--date \u003cdate\u003e`\n\nEnter a specific date to check the schedule on that day.\n\n```\n$ nba-go game -d 2017/11/02\n```\n\n![game -d gif](https://user-images.githubusercontent.com/12113222/32413795-0e7d75c2-c254-11e7-8a77-eeabed3c11f2.gif)\n\n##### `-y` or `--yesterday`\n\nCheck **yesterday's** schedule.\n\n```\n$ nba-go game -y\n```\n\n![game -y gif](https://user-images.githubusercontent.com/12113222/32414094-8bd4ba98-c25a-11e7-84f0-4fc473dc7144.gif)\n\n##### `-t` or `--today`\n\nCheck **today's** schedule.\n\n```\n$ nba-go game -t\n```\n\n![game -t gif](https://user-images.githubusercontent.com/12113222/32414115-f1a1ad72-c25a-11e7-8c79-a8b9b1ee0599.gif)\n\n##### `-T` or `--tomorrow`\n\nCheck **tomorrow's** schedule.\n\n```\n$ nba-go game -T\n```\n\n![game -T gif](https://user-images.githubusercontent.com/12113222/32414142-7897dfe0-c25b-11e7-9acf-d50ade5379fd.gif)\n\n##### `-n` or `--networks`\n\nDisplay on schedule home team and away team television network information.\n\n```\n$ nba-go game -n\n```\n\n#### Pregame\n\n⭐️⭐️  \nCheck the detailed comparison data between two teams in the game.\n\n![pregame](https://user-images.githubusercontent.com/12113222/32414253-ad64df82-c25d-11e7-9076-4da800f3c701.gif)\n\n#### Live\n\n⭐️⭐️⭐️  \n**Best feature!** Realtime updated play-by-play, scoreboard and box score. Turn on fullscreen mode for better experience.  \nBtw, play-by-play is scrollable!.\n\n![live](https://user-images.githubusercontent.com/12113222/32420915-3ca6b34a-c2cd-11e7-904d-bf41cc4b93f7.gif)\n\n#### Final\n\n⭐️⭐️  \nCheck two teams' detailed scoreboard and box score.\n\n![final](https://user-images.githubusercontent.com/12113222/32436783-1e7ad7b8-c320-11e7-97af-29d95732581c.gif)\n\n#### Filter\n\nFilter results to quickly jump to the info you care about\n\n#### Options\n\n##### `-f` or `--filter`\n\nCurrently only supports filtering the results by team but more options on the way\n\n```\nnba-go game --filter team=Detroit\n```\n\n### Player\n\nGet player's basic information, regular season data and playoffs data.\n\n**Note.** Must place **player's name** between `nba-go player` and options.\n\n#### Options\n\n##### `-i` or `--info`\n\nGet player's basic information.\n\n```\n$ nba-go player Curry -i\n```\n\n![player -i gif](https://user-images.githubusercontent.com/12113222/32416941-7cfc49e6-c28c-11e7-8a79-15601a44554e.gif)\n\n##### `-r` or `--regular`\n\nGet player's basic information.\n\n```\n$ nba-go player Curry -r\n```\n\n![player -r gif](https://user-images.githubusercontent.com/12113222/32416897-bb82af9e-c28b-11e7-827f-0f0d67d80364.gif)\n\n##### `-p` or `--playoffs`\n\nGet player's basic information.\n\n```\n$ nba-go player Curry -p\n```\n\n![player -p gif](https://user-images.githubusercontent.com/12113222/32500032-234e8fba-c40f-11e7-87c0-6e42a66a52dc.gif)\n\n##### `-c` or `--compare`\n\nGet and compare the stats from multiple players. The better stat will be highlighted in green to make comparing easier.\nWhen listing the multiple names they must be in quotes and seperated by commas. Can be combined with the -i, -r, and -p flags.\n\n```\n$ nba-go player \"Lebron James, Stephen Curry, James Harden\" -c -i -r -p\n```\n\n![player -c gif](https://user-images.githubusercontent.com/12113222/37696809-1fd54306-2d14-11e8-9261-4d9b6a08588a.gif)\n\n#### Mixed them all\n\nGet all data at the same time.\n\n```\n$ nba-go player Curry -i -r -p\n```\n\n![player mixed gif](https://user-images.githubusercontent.com/12113222/32416928-5054d48a-c28c-11e7-84d3-bc17681e1a5e.gif)\n\n## Development\n\n* It's simple to run `nba-go` on your local computer.  \n* The following is step-by-step instruction.\n\n```\n$ git clone https://github.com/xxhomey19/nba-go.git\n$ cd nba-go\n$ yarn\n$ NODE_ENV=development node bin/cli.js \u003ccommand\u003e\n```\n\n## Related repo:\n\n- [nba-bar](https://github.com/xxhomey19/nba-bar)\n- [watch-nba](https://github.com/chentsulin/watch-nba)\n- [nba-color](https://github.com/xxhomey19/nba-color)\n\n## License\n\nMIT © [xxhomey19](https://github.com/xxhomey19)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhomerchen19%2Fnba-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhomerchen19%2Fnba-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhomerchen19%2Fnba-go/lists"}