README
Hubot Hockey
Get the latest odds for the selected team from the very useful MoneyPuck.com.
Suggested Setup
There is no additional configuration if you simply wish to get the latest playoff odds.
You can also set the Twitter credentials (if not already set for another plugin) to get the latest team news.
Environment Variable | Required? | Description |
---|---|---|
HUBOT_TWITTER_CONSUMER_KEY |
Yes | Consumer key from application |
HUBOT_TWITTER_CONSUMER_SECRET |
Yes | Consumer key secret from application |
HUBOT_TWITTER_ACCESS_TOKEN |
Yes | Access token from OAuth workflow |
HUBOT_TWITTER_ACCESS_TOKEN_SECRET |
Yes | Access token secret from OAuth workflow |
Adding to Your Hubot
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' ]
).
Commands
hubot <team>
- Show your team's current playoff odds and next gamehubot <team> twitter
- Get the latest news from your team on Twitter