statuscake

0.1.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i statuscake

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • pm5