rbltracker
v1.1.0
Published
A Node library for communicating with the RBLTracker REST API
Downloads
7
Maintainers
Readme
Sign up for a RBLTracker account and visit our developer site for even more details.
Node.js Client Library
The official Node.js binding for your RBLTracker service.
Prerequisites
Before using this library, you must have:
- A RBLTracker Account, sign up for a new account or login to RBLTracker
- a valid RBLTracker account SID and auth token, available from the RBLTracker Portal
Installation
npm install rbltracker
Quickstart
Get a list of hosts on your account
var client = require('rbltracker')('Your Account SID', 'Your Auth Token');
client.hosts.get({ page_size: 10 }).then(data => {
data.data.forEach(function(host)
{
console.log("Host: " + host.host + ", Name: " + host.name);
});
}).catch(err => {
console.log(err);
});
Documentation
Full API documentation is available from the RBLTracker developer site.
Release History
v1.1.0
- updated to the use the new API endpoint URL
- added support for Monitoring Profiles, moving away from RBL Profiles
- added support for the ACLs endpoint to pull the list of DNS servers used for checks
v1.0.1
- updated to support the RBLTracker API v3.6
- added manual RBL check support
v1.0.0
- initial release