Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

hubot-catme2

0.0.3 • Public • Published

hubot-catme2

A hubot script that fetches random cat images.

This script is based on the hubot-catme script by Emile Filteau. It uses an API key so we can have access to all images in The Cat API.

See src/catme.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-catme2 --save

Then add hubot-catme2 to your external-scripts.json:

[
  "hubot-catme2"
]

Configuration

You need to set the HUBOT_THE_CAT_API_KEY environment variable which can be obtained from http://thecatapi.com/api-key-registration.html

Sample Interaction

user1>> hubot cat me
hubot>> http://24.media.tumblr.com/tumblr_mbi8dcCrzo1qlyuwso1_1280.jpg

user1>> hubot cat categories
hubot>> hats
space
funny
sunglasses
boxes
caturday
ties
dream
kittens
sinks
clothes

install

npm i hubot-catme2

Downloadsweekly downloads

1

version

0.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability