PteroManager: The Pterodactyl Manager For You!
If you have issues with downloading this package, and you come accross "package.json" not found, open a cmd.exe in the startup bar of your PC and then type npm init -y
If you're having any issues, contact jeweetzelf#1911 on Discord and ask for support.
Installation
npm install pteromanager
What Is PteroManager?
PteroManager is a node.js library that can be filled with all your needs! I am currently busy, so I'll try my best to update this package as soon as possible.
Documentation
IMPORTANT: DO NOT USE THE ADDAPIKEY FUNCTION, IT WILL BREAK YOUR ACCOUNT! IT IS STILL IN THE TESTING PHASE!!!
To make a new client, you need to do add a new Client and import PteroManager. The Client needs a panelURl, APIKey and a password. For example:
const pteromanager = require('pteromanager');
const Client = new pteromanager.Client('panel.example.com', 'YourAPIKey', 'youShallNotPass')
All The Functions That Are Now Available Are:
const pteromanager = require('pteromanager');
const Client = new pteromanager.Client('panel.example.com', 'YourAPIKey', 'youShallNotPass')
Client.getAccountDetails().then(res => {
console.log(res)
})
Client.getAPIKeys().then(res => {
console.log(res)
})
Further Documentation
Soon™