Get the game results and the latest NHL playoff odds for the selected team from the very useful MoneyPuck.com.
There is no additional configuration necessary if you simply wish to get the latest game results and playoff odds.
Environment Variable | Required? | Description |
---|---|---|
HUBOT_HOCKEY_EXT_STANDINGS |
No | Adds columns to the standings table. See notes below. |
HUBOT_HOCKEY_HIDE_ODDS |
No | Skips show the odds from MoneyPuck |
- By default, the standings table will show Games Played, Wins, Losses, Overtime Losses, and Points.
- Setting
HUBOT_HOCKEY_EXT_STANDINGS
to any truth-y value will add Points Percentage, Last 10, and Streak.
See full instructions here.
npm install hubot-hockey --save
(updates yourpackage.json
file)- Open the
external-scripts.json
file in the root directory (you may need to create this file) and add an entry to the array (e.g.[ 'hubot-hockey' ]
).
hubot <team>
- Show your team's current playoff odds and next gamehubot nhl
- Show division leadershubot nhl [division|conference]
- Show division or conference standings