Skip to content
Mateusz edited this page Aug 31, 2021 · 4 revisions

PteroWrap

Wiki listing all the functions and managers [ WIP ]

Basic Usage

const { AdminInstance } = require('pterowrap');

const url = "https://pterodactyl.app/api/" //process.env.API_URL -- use this
const key = "meowmeowmeow" //process.env.API_KEY -- use this

const client = new AdminInstance(url, key);
(async () => {
    const server = await client.servers.get(5)
    console.log(server.name)
})();
Clone this wiki locally