Skip to content
Mateusz edited this page Feb 4, 2022 · 4 revisions

PteroWrap

Wiki listing all the functions and managers [ WIP ]

Basic 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)
})()ole.log(server.name)
})();
Clone this wiki locally