Comments (3)
Interface design/goal:
> scores
Include which league you want scores for, eg `scores mlb`. Available leagues: mlb, nba, nfl, college football.
> scores mlb
Include a team name to see their recent games, eg `scores mlb florida` or `scores mlb giants`
> scores mlb red sox
Oct 22 @ HOU, top 3rd
BOS 0 0 0 - - - - - - | 0 1 1
HOU 1 0 - - - - - - - | 1 2 0
Oct 20 @ BOS
HOU 0 0 0 0 0 0 0 0 0 | 0 2 0
BOS 1 0 0 0 0 1 0 3 • | 5 10 0
> scores nfl lions
Dec 26 @ ATL
DET 3 7 3 3 | 16
ATL 0 10 3 7 | 20
> scores nba thunder
Jan 24 @ OKC, final
CHI 35 23 34 19 | 111
OKC 27 21 30 32 | 110
Jan 22 @ CLE
OKC 24 22 37 24 | 107
CLE 32 24 29 17 | 102
Difficulties:
- How do we deal with leagues that might have over 100 games on a single day (eg, NCAA Division 1 football)? This makes listing all games for a specific day infeasible (to a certain extent even if just top-25 games are listed). Should we just not deal with NCAA sports, at least to start with?
- Do we use a different, but specialized, API for each sport/league? Or a centralized API (like API-SPORTS or MySportsFeeds) that serves all sports but not as well/neatly?
- For games that are happening today, we must include
final
or which inning/quarter/half they're in, to contextualize potentially-incomplete scores.
from mouse.
An alternative would be to skip box scores and specific teams (too hard to handle synonyms/nicknames/spelling?) and just do the most recent scores. Basically, the information that ESPN'd be showing in their ticker at the bottom of their programming, eg:
> scores mlb
ARI 3 COL 2, btm 5
BOS 9 NYY 1
LAA 0 OAK 1
…
> scores college football
UNC 58 WAKE 55, Q4
PITT 54 DUKE 29
OHIOST 26 NEB 17
UGA 43 MIZZOU 6
...
Easier. But OTOH realistically a user generally cares about a single team, or maybe at most a single division (eg, MLB AL East) or conference (eg, NCAA football Big 10), so maybe the interface should focus on that?
from mouse.
Could try taking inspiration from https://plaintextsports.com
from mouse.
Related Issues (17)
- Add invocation for air quality forecasts
- Add invocation for "what trail mile am I at?" HOT 4
- Add push notifications for new closures HOT 1
- Make readme more readable for users HOT 1
- Replace "closures" terminology HOT 1
- Refactor the AT closures module
- Set up CI to run unit tests
- Allow different names for the same region
- Add e2e tests for error messages
- Add phone number whitelist
- Allow Wikipedia search to handle proper nouns that don't follow first-letter capitalization
- Paginate messages that are longer than a single SMS HOT 1
- Get more-up-to-date PCTA closures data
- Refactor invocation functions so that they all have the same function signature HOT 1
- Add Prettier linting/formatting on-commit HOT 1
- Support closure information for Appalachian Trail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mouse.