0.2.1 • Published 5 years ago

uptimerobot-client v0.2.1

Weekly downloads
7
License
MIT
Repository
github
Last release
5 years ago

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

0.2.1

5 years ago

0.2.0

6 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago