Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 1.62 KB

README.md

File metadata and controls

30 lines (17 loc) · 1.62 KB

MLB Scores Alfred Workflow

Workflow for Alfred that uses the MLB API to check info about current games (i.e. quickly check the score, who's on base, who's pitching etc.)

Keyword is mlb, followed by the 2 or 3 letter code for the team you're looking for (e.g. nyy for the Yankees).

Shows runners on base at a glance using icons in the Alfred response, see screenshots below.

If a game has already finish today it'll show the final result, including R|H|E, if a game is scheduled for today it'll give upcoming info.

Note: for a JavaScript version of this check out my MLB command on my personal website :)

Screenshots

Example response during a game

Screenshot of workflow during game

Example response after a game finishes

Screenshot of workflow after a game

Example response with a game later this day

Screenshot of workflow before a game

Misc

It also shows who's pitching (+stats), who's batting (+stats), current balls/strikes, if anyone's (and who's) on base, current win-lose record for both teams, and where the game is being broadcast on TV and radio.

You don't need the space between mlb and the team code, so could call the Yankees just as "mlbnyy"

Uses David Ferguson's Workflow PHP class.