controlpanelapi.js
v1.2.0
Published
An API wrapper for ControlPanel dashboard
Downloads
6
Maintainers
Readme
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()
})