hubot-mashery

0.0.2 • Public • Published

Hubot Mashery npm version Build Status

This script is designed to be used with a Hubot to interact with the Mashery API.

Adding to Your Hubot

See full instructions here.

  1. npm install hubot-mashery --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-mashery' ]).

Commands

  • hubot mashery services - Show list of services
  • hubot 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 or heroku config:set or whatever applies to your Hubot hosting environment.

Package Sidebar

Install

npm i hubot-mashery

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • ntangy
  • amagana286
  • goistjt
  • americk0
  • ekozlowski
  • wbarker
  • brianantonelli
  • pofallon