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 your
- Open the
external-scripts.jsonfile in the root directory (you may need to create this file) and add an entry to the array (e.g.
[ 'hubot-mashery' ]).
hubot mashery services- Show list of services
hubot mashery endpoints <serviceId>- Show list of endpoints for a given service
- The form fields presented there are, in order, the following Hubot environment variables:
- Register the five values as environment variables when starting your bot (as usual with Hubot scripts) using
heroku config:setor whatever applies to your Hubot hosting environment.