Skip to content

4lejandrito/uptimerobot-node-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

NodeJS client for the uptimerobot API

Resources

Stars

Watchers

Forks

Packages

No packages published