uptimerobot-client

0.2.1 • Public • Published

uptimerobot-node-client

NPM Version Build Status Package downloads

var UptimeRobotClient = require('uptimerobot-client');
 
var client = new UptimeRobotClient('apikey');
 
client.getMonitors({
    logs: true,
    alertContacts: true,
    responseTimes: false,
    responseTimesAverage: 180,
    monitors: [15830, 32696],
    customUptimeRatio: 30
}, function(err, response) {
    // The response will be the javascript object
});

Installation

$ npm install uptimerobot-client

Running Tests

To run the test suite, first invoke the following command within the repo, installing the development dependencies:

$ npm install

Then run the tests:

$ npm test

License

MIT

/uptimerobot-client/

    Package Sidebar

    Install

    npm i uptimerobot-client

    Weekly Downloads

    1

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    16.2 kB

    Total Files

    6

    Last publish

    Collaborators

    • 4lejandrito