controlpanelapi.js

1.2.0 • Public • Published

ControlPanelAPI.js

An API wrapper for ControlPanel dashboard, written in NodeJS
ControlPanel provides a dashboard and billing-system for Pterodactyl hosts.

Features

  • Object-oriented
  • Includes latest features
  • 100% promise-based
  • Uses discordjs#Collections data structures

Example

const {Client} = require('controlpanelapi.js')
let host = '' // Put dashboard url here
let key = '' // Put admin apikey here
const client = new Client(host, key)
client.servers.fetch('1')
    .then(async server => {
        server.delete()
    })

Docs

Docs lie here

Package Sidebar

Install

npm i controlpanelapi.js

Weekly Downloads

7

Version

1.2.0

License

ISC

Unpacked Size

19.6 kB

Total Files

11

Last publish

Collaborators

  • darkguy10