1.0.14 • Published 2 years ago

@mediahosting/rub-api v1.0.14

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

rub-api

npm

#Information

The RubApi is the wrapper for the Roeth and Beck RestAPI

Now working routes:

  • account
  • accounting
  • address
  • ddos_alert
  • domain
  • domain/dns
  • domain/handle
  • domain/nameserver
  • domain/price
  • license/plesk
  • news
  • reseller/news
  • teamspeak_instance
  • teamspeak_instance/whitelist
  • ssh_key

Installation

Install the package

$ npm install @mediahosting/rub-api

Usage

The host variable is not required but the apiKey must be specified

import { RubApi } from "@mediahosting/rub-api"

const api = new RubApi({
    host: "https://api.reselling.services/api/v1",
    apiKey: ""
})

api.general.accounting.getBalance()
    .then(value => { console.log(value) })
    .catch(error => { console.error(error) })
1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago