pterowrap
v1.1.7
Published
A node.js wrapper for Pterodactyl API
Downloads
31
Maintainers
Readme
PteroWrap
A node.js wrapper for Pterodactyl API
Installation
npm install pterowrap
Usage
const { ApplicationInstance } = require("pterowrap")
const url = "https://pterodactyl.app/api/"
const key = "meowmeowmeow"
const client = new ApplicationInstance(url, key)
;(async () => {
const server = await client.servers.get(5)
console.log(server.name)
})()