A wrapper for https://www.loopia.se/api

npm install loopia-api
11 downloads in the last month


A thin wrapper for https://www.loopia.se/api

Note that the username and password is created specifically for the api; it is not the regular username and password used for logging in.


var loopia = require('loopia-api');
var client = loopia.createClient('username', 'password');
var domain = 'my-domain.com';

client.getSubdomains(domain, function(error, subdomains) {
  subdomains.forEach(function(subdomain) {
    client.getZoneRecords(domain, subdomain, function(error, value) {
      console.log(subdomain, value);
npm loves you