Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 648 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 648 Bytes

webdock

NPM

NodeJS SDK Library / Wrapper for the Webdock API

Installation

npm install webdock

Documentation

Full API documentation is available at: api.webdock.io

Usage example

const WebdockApi = require("webdock");

WebdockApi.OpenAPI.TOKEN = "Your_token_goes_here";

const main = async () => {
    const ping = await WebdockApi.PingService.getPing();
    console.log(ping); // { webdock: 'rocks' }

    const servers = await WebdockApi.ServersService.getServers();
    console.log(servers);
};

main();