nea

node-enom-api

Node.js library for ENOM API

Showing:

Popularity

Downloads/wk

17

GitHub Stars

4

Maintenance

Last Commit

7yrs ago

Contributors

1

Package

Dependencies

3

Size (min+gzip)

213.9KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

node-enom-api

This is a simple library to interface with the ENOM API.

Installation

npm install node-enom-api --save

Configuration

You will need an ENOM reseller account in order to use the functionality of this module. You can become an ENOM reseller here.

var Enom = require('node-enom-api');

var client = new Enom({
  uid: "resellid",
  pw: "resellpw",
  response: "xml",
  mode: "testing"
});
OptionRequiredDescriptionDefault
uidtrueENOM reseller usernamenull
pwtrueENOM reseller passwordnull
responsefalsexml or jsonxml
modefalselive or testinglive

Usage

See Configuration section above for client config

client.get(command, inputParams, function(error, ReturnedParamAndValues){
  if (error) {console.log(error)};
  console.log(ReturnedParamAndValues);
});

ENOM commands can be viewed at http://www.enom.com/APICommandCatalog/index.htm

Example

client.get('Check', {sld: "unusualTVname", tld: "tv"}, function(error, data){
  if (error) {console.log(error)};
  console.log(data);
});

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100