Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/4lejandrito/uptimerobot-node-client
NodeJS client for the uptimerobot API
https://github.com/4lejandrito/uptimerobot-node-client
Last synced: about 1 month ago
JSON representation
NodeJS client for the uptimerobot API
- Host: GitHub
- URL: https://github.com/4lejandrito/uptimerobot-node-client
- Owner: 4lejandrito
- Created: 2016-01-10T17:26:43.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-12-30T12:58:03.000Z (almost 6 years ago)
- Last Synced: 2024-08-10T23:23:21.058Z (3 months ago)
- Language: JavaScript
- Size: 24.4 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
uptimerobot-node-client
==============[![NPM Version](https://badge.fury.io/js/uptimerobot-client.svg)](https://npmjs.org/package/uptimerobot-client)
[![Build Status](https://api.travis-ci.org/4lejandrito/uptimerobot-node-client.svg?branch=master)](https://travis-ci.org/4lejandrito/uptimerobot-node-client)
[![Package downloads](http://img.shields.io/npm/dm/uptimerobot-client.svg)](https://npmjs.org/package/uptimerobot-client)```javascript
var UptimeRobotClient = require('uptimerobot-client');var client = new UptimeRobotClient('apikey');
client.getMonitors({
logs: true,
alertContacts: true,
responseTimes: false,
responseTimesAverage: 180,
monitors: [15830, 32696],
customUptimeRatio: 30
}, function(err, response) {
// The response will be the javascript object
});
```## Installation
```sh
$ npm install uptimerobot-client
```## Running Tests
To run the test suite, first invoke the following command within the repo, installing the development dependencies:
```sh
$ npm install
```Then run the tests:
```sh
$ npm test
```## License
[MIT](LICENSE.md)