webdock
v2.0.0
Published
NodeJS SDK Library / Wrapper for the Webdock API
Downloads
10
Readme
webdock
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();