Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    dnspod-clientpublic

    Dnspod-client

    Dnspod-client is a client of DNSPod. It was originally designed for use with node.js.

    Quick Examples

    var Dnspod = require('dnspod-client'),
        client = new Dnspod({
            'login_email': 'test@test.com',
            'login_password': 'test'
        });
     
    client
        .domainList({length: 5})
        .on('domainList', function (err, data) {
            if (err) {
                throw err;
            } else {
                done();
            }
        });
     
    client
        .getHostIp()
        .on('getHostIp', function (err, message) {
            if (err) {
                throw err;
            } else {
                console.log('get IP address: ' + message);
                done();
            }
        });
     

    Download

    You can install using Node Package Manager (npm):

    npm install dnspod-client

    License

    Copyright (c) 2012 Chao Shen. This software is licensed under the BSD License.

    Keywords

    none

    install

    npm i dnspod-client

    Downloadsweekly downloads

    9

    version

    0.1.3

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar