0.0.4 • Published 1 year ago

websupport v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago