monitly

Client-side wrapper for accessing the Monit.ly API.

A client-side wrapper for the Monit.ly API.

npm install monitly

var monitly = require('monitly')({
  host: 'host',
  user: 'user',
  pass: 'pass',
  customerId: '123'
});
 
monitly.checks.list(function(errchecks) {
  // ... 
});
  • checks

    • .create(data, callback)
    • .list(callback)
    • .retrieve(id, callback)
    • .update(id, data, callback)
    • .subscribe(id, callback)
  • events

    • .create(check_id, data, callback)
    • .list(check_id, callback)

Fork this repo, commit your changes and ensure the lint and test steps before submitting a pull request by running the following:

$ npm run-script lint
$ npm test
            DO WHATEVER THE FUCK YOU WANT, PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
            0. You just DO WHATEVER THE FUCK YOU WANT.