glesys-api-node

Node.js wrapper for the GleSYS API.

MIT License

Downloads
124
Stars
4
Committers
4

glesys-api

A Node.js wrapper for the GleSYS API.

Installation

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

npm install glesys-api

Usage

import GleSYSAPI from 'glesys-api';

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

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

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

glesys.email.createAccount({
    emailaccount: '[email protected]',
    password: 'password',
});

Available methods

account

api

archive

country

customer

domain

email

fileStorage

invoice

ip

loadBalancer

network

networkAdapter

networkCircuit

objectStorage

paymentCard

privateNetwork

project

server

serverDisk

sshKey

user

vpn

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

Package Rankings
Top 10.96% on Npmjs.org
Badges
Extracted from project README
npm Coverage Status