The TokenDNS NodeJS module is ready

Integrating the TokenDNS API into your application should be as easy as possible. We created a small and fast nodejs plugin that you can use to get started. There is nothing more to say than, check our docs, grab the module from github and look at this example:

var TokenDNS = require('index.js')
var apiKey = 'YOURAPIKEY';

var tokenDnsClient = new TokenDNS(apiKey)

tokenDnsClient.registerDomain({
    apikey: apiKey,
    action: 'add',
    domain: 'example.com',
    method: 'email',
    email: 'webmaster@example.com',
    billing: 'yearly',
    },function(err, res) {
        console.log(res.status);
});

Have fun and let us know when you run in a bug 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *