1.0.1 • Published 5 years ago

eurodns-api v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

A NPM module for the EuroDNS API

Installation & usage

Run the following command to install EuroDNS API npm module

npm i --save eurodns-api

Use the module in the following way

const EuroDNS = require('eurodns-api')

const credentials = {
    user: 'YourUserName',
    password: 'Your password',
    mode: 'development' // Can be development or production, development is the default
    //uri: '' // The URL of the API server (normally the API takes this by itself)
}

const api = new EuroDNS(credentials)

IMPORTANT: Make sure you add the IP address of your machine to the API list first! Otherwise it won't work.

Functions yet implemented

All functions are based on the structure that can be found on the EuroDNS API page Every function needs a callback with the structure (error, response) and all the returned errors are of the Error type.

Some models are reused throughout the project and can be found on the models doc

Agent

View file

IP

View file

Top level domains

View file

Domain

View file

Contact profile

View file

Nameserver Profile

View file Only works in production mode

Folder

View file

Zone profile

View file Only works in production mode

Zones

View file