uptimerobot

1.0.1 • Public • Published

uptimerobot

Build Status npm version License

Node API client and CLI for UptimeRobot

Node wrapper over the UptimeRobot API.

Installation

npm install --save uptimerobot

Usage

const uptimerobot = require('uptimerobot')
 
const urls = ['http://example.com', 'http://two.example.com']
const config = {
  apiToken: // some token
}
 
uptimerobot.monitor(urls, config)
  .then(res => console.log(res))
  .catch(error => console.log(error))

CLI

uptimerobot -h
#=> uptimerobot [command] [url [url...]] 
 
uptimerobot monitor http://example.com http://google.com
#=> JSON result 

Author

© 2016 Tom Vincent git@tlvince.com (https://tlvince.com)

License

Released under the MIT license.

Package Sidebar

Install

npm i uptimerobot

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • tlvince