hubot-hockey

Get the latest hockey playoff odds for your team.

Usage no npm install needed!

<script type="module">
  import hubotHockey from 'https://cdn.skypack.dev/hubot-hockey';
</script>

README

Hubot Hockey

npm version Build Status

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.

Twitter

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.

  1. npm install hubot-hockey --save (updates your package.json file)
  2. 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 game
  • hubot <team> twitter - Get the latest news from your team on Twitter