hubot-imgapi
A hubot script to interact with the Joyent Image API (IMGAPI) via images.joyent.com or your own URL.
Last updated 6 years ago by chorrell .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-imgapi 
SYNC missed versions from official npm registry.

Hubot IMGAPI

Build Status

A hubot script to interact with the Joyent Image API (IMGAPI) via images.joyent.com or your own URL. Also periodially checks the API for new images and lets you know.

Configuration

HUBOT_IMAGES_URL

You can set HUBOT_IMAGES_URL to an alternate URL. If not set, the default is https://images.joyent.com/. Don't forget the trailing slash :-)

HUBOT_IMAGES_CHECK_INTERVAL

Set HUBOT_IMAGES_CHECK_INTERVAL (in minutes) to change how often Hubot IMGAPI will check for new images. If not set, the default is 60 minutes.

Installation

  1. Edit package.json and add hubot-imgapi as a dependency.
  2. Add "hubot-imgapi" to your external-scripts.json file.
  3. Add "redis-brain.coffee" to your hubot-scripts.json file if it's not already there -- it uses the brain for storage.
  4. npm install
  5. Reboot Hubot

Commands

img-get <uuid> # Shows information for the given image UUID
img-search <word> # Shows images with a name matching <word>.
img-newest # Shows the newest image added to the API
img-oldest # Shows the oldest image added to the API
img-check start # Start the periodic check for new images
img-check stop # Stop the periodic check for new images

License

Hubot IMGAPI is licensed under the MIT license.

Current Tags

  • 1.2.2                                ...           latest (6 years ago)

6 Versions

  • 1.2.2                                ...           6 years ago
  • 1.2.1                                ...           6 years ago
  • 1.2.0                                ...           6 years ago
  • 1.1.4 [deprecated]           ...           6 years ago
  • 1.1.3 [deprecated]           ...           6 years ago
  • 1.1.2 [deprecated]           ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |