hubot-mashery
v0.0.2
Published
A hubot script that interacts with the Mashery API.
Downloads
24
Readme
Hubot Mashery
This script is designed to be used with a Hubot to interact with the Mashery API.
Adding to Your Hubot
See full instructions here.
npm install hubot-mashery --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-mashery' ]
).
Commands
hubot mashery services
- Show list of serviceshubot mashery endpoints <serviceId>
- Show list of endpoints for a given service
Suggested Setup
- The form fields presented there are, in order, the following Hubot environment variables:
MASHERY_UN
MASHERY_PW
MASHERY_API_KEY
MASHERY_SECRET
MASHERY_AREA_UUID
- Register the five values as environment variables when starting your bot (as usual with Hubot scripts) using
export
orheroku config:set
or whatever applies to your Hubot hosting environment.