statuscake
v0.1.3
Published
StatusCake API client library.
Downloads
4
Readme
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)
andalerts(id, callback)
locationsJSON(callback)
locationsXML(callback)
locationsTXT(callback)
All callbacks take (err, data)
as parameters.
See StatusCake API Documentation for their usages.