Skip to content
Node.js wrapper for the GleSYS API.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
LICENSE.md
README.md
package-lock.json
package.json

README.md

glesys-api

npm Build Status Coverage Status

A Node.js wrapper for the GleSYS API.

Installation

Note: Node 8.9.0 (LTS) or later is required.

npm install glesys-api

Usage

const GleSYSAPI = require('glesys-api');

const glesys = new GleSYSAPI({
    apiKey: 'key',
    apiUser: 'user',
});

(async () => {
    try {
        const { body } = await glesys.api.serviceInfo();

        console.log(body)
    } catch (e) {
        console.error(e);
    }

    glesys.email.createAccount({
        emailaccount: 'example@example.com',
        password: 'password',
    });
})();

Available methods

account

api

archive

changelog

contactPerson

customer

domain

email

invoice

ip

liveChat

loadBalancer

paymentCard

server

sshKey

transaction

user

vpn

For more information about the GleSYS API, available arguments etc., please see the GleSYS API documentation.

You can’t perform that action at this time.