Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcomo/scoreboard
A simple CLI to retrieve MLB scores and upcoming games
https://github.com/jcomo/scoreboard
Last synced: 14 days ago
JSON representation
A simple CLI to retrieve MLB scores and upcoming games
- Host: GitHub
- URL: https://github.com/jcomo/scoreboard
- Owner: jcomo
- Created: 2015-04-05T03:34:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-23T09:04:04.000Z (about 9 years ago)
- Last Synced: 2024-12-30T11:51:45.584Z (28 days ago)
- Language: Go
- Size: 57.6 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scoreboard
A simple CLI to retrieve MLB scores and upcoming games.## Installation
To build and install scoreboard, you must have Go version >= 1.3.2 on your system.
```sh
$ go get github.com/jcomo/scoreboard
$ scoreboard
```It may be necessary to run `go install` from within the directory depending on your PATH
configuration.## Usage
The basic usage of scoreboard is to run the program with no arguments```sh
$ scoreboardNYY vs BOS 7:05PM
SF 4 • 1 OAK ↑9
# ...
```You may also specify a team using the team flag to get information about one
team only.The specified team should be the abbreviation (eg. NYY). This is case
insensitive.```sh
$ scoreboard -team=nyyNYY 5 • 3 BOS ↓4
```## Behavior
Scoreboard will display the score and state of the game if it is currently in
play. If there is no game in play for a team, scoreboard will show the upcoming
game in the schedule instead.