Socket
Socket
Sign inDemoInstall

dme2

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dme2

This module allows one to connect to DNSMadeEasy's APIs (V2.0)


Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

dme2-node

A node module for DNSMadeEasy's V2.0 API

To use

  • Import the module

      var dme = require('dnsmadeeasy');
    
  • Setup config

      var config = {
      	apikey: <INSERT_APIKEY>,
      	secret: <INSERT_APISECRET>,
      	debug: false
      };
    
  • Create client

      var client = dme.createClient(config);
    
  • Access ManagedDNS

      var mgdns = new dnsmadeeasy.ManagedDNS(client);
      mgdns.getAllDomains(function(err, data){
      	if (err) console.log(err);
      	var domains = data.data;
      	domains.forEach(function(domain){
      		mgdns.getDomain(domain.id, function(err, data){
      			if (err) console.log(err);
      			console.log(data);
      		});
      	});
      });
    

Working submodules

  • ManagedDNS
  • SOA
  • Template
  • VanityDNS
  • AccountACL
  • Failover
  • Folder
  • IPSet
  • QueryUsage
  • SecondayDNS

Notes

All api calls require a callback that exposes the error (if any) and the data ex.

function(err, data)

To know exactly what parameters to pass in the data envelope, consult the DNSMadeEasy API V2.0 Documentation by going here

Todo

  • Provide significantly better documentation
  • Provide better comments in the code itself

License

GPL

Keywords

FAQs

Package last updated on 06 Apr 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc