November's Paddleball Marathon
Wondering what’s next for npm?Check out our public roadmap! »

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

Install

npm i statuscake

DownloadsWeekly Downloads

2

Version

0.1.3

License

MIT

Last publish

Collaborators

  • avatar