0.1.3 • Published 9 years ago

statuscake v0.1.3

Weekly downloads
18
License
MIT
Repository
github
Last release
9 years ago

StatusCake

StatusCake API client library for Node.js.

Usage

var statuscake = require("statuscake");

statuscake
  .username("Clapton")
  .key("IGotTheKeyToTheHighway");

statuscake.tests(function (err, allTests) {
  // ...
});

List of methods:

  • auth(callback)
  • tests(callback)
  • testsDetails(id, callback)
  • testsUpdate(data, callback)
  • testsPeriods(id, callback)
  • testsDelete(id, callback)
  • testsChecks(id, callback)
  • contactGroups(callback)
  • contactGroupsUpdate(data, callback)
  • alerts(callback) and alerts(id, callback)
  • locationsJSON(callback)
  • locationsXML(callback)
  • locationsTXT(callback)

All callbacks take (err, data) as parameters.

See StatusCake API Documentation for their usages.

License

MIT License