Socket
Socket
Sign inDemoInstall

dme-sdk

Package Overview
Dependencies
60
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dme-sdk

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


Version published
Weekly downloads
10
increased by900%
Maintainers
4
Install size
5.96 MB
Created
Weekly downloads
 

Readme

Source

dme-sdk

A node module for DNSMadeEasy's V2.0 API

To use

  • Import the module
var dme = require('dme-sdk');
  • Setup config
var config = {
	apikey: <INSERT_APIKEY>,
	secret: <INSERT_APISECRET>,
	debug: false
};
  • Create client
var client = dme.createClient(config);
  • Access ManagedDNS
var mgdns = dme.ManagedDNS.createManagedDNS(client);
mgdns.getAllDomains()
	.then(function(data) {
		console.log(data);
	})
	.catch(function(err) {
		console.log(err);
	});
  • Access Usage
var usage = dme.Usage.create(client);
usage.getUsage()
	.then(function(data) {
		console.log(data);
	})
	.catch(function(err) {
		console.log(err);
	});

Working submodules

ManagedDNS
  • getDomain(domainId)
  • createDomain(payload)
  • updateDomain(domainId, payload)
  • deleteDomain(domainId)
  • deleteDomain(domainId)
  • getAllDomains()
  • updateMultipleDomains(payload)
  • deleteMultipleDomains(payload)
  • createRecordForDomain(domainId, payload)
  • updateRecordForDomain(domainId, recordId, payload)
  • deleteRecordForDomain(domainId, recordId)
  • getRecordsForDomain(domainId)
  • createRecordsForDomain(domainId, payload)
  • updateRecordsForDomain(domainId, payload)
Usage
  • getUsage()

Keywords

FAQs

Last updated on 28 Sep 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc