0.0.4 • Published 3 years ago

websupport v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Websupport API

npm version npm bundle size npm install size npm downloads

https://rest.websupport.sk/docs/index

  • User management
  • Service management
  • Invoice management
  • Ordering new services
  • DNS management
  • Hosting management
  • VPS management

How to use:

import { Websupport } from "websupport";

const websupport = new Websupport({
  apiKey: 'YOUR_API_KEY',
  apiSecret: 'YOUR_API_SECRET',
});

const myUser = websupport.user.getOneMine();
console.log("My username:", myUser.login)

in case some endpoints are not implemented yet, you can use it like this

import { Websupport } from "websupport";

const websupport = new Websupport({
  apiKey: 'YOUR_API_KEY',
  apiSecret: 'YOUR_API_SECRET',
});

const apiService = websupport.getApiService();
const myUser = await apiService.get("/user/self")
console.log("My username:", myUser.login)
0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago