UNPKG

pterodactyl-manager

Version:

A powerful and easy-to-use API wrapper for Pterodactyl's API, providing a seamless integration of server management and user administration functionalities.

12 lines (9 loc) 220 B
# How to get a server ```js const { PteroManager } = require("./PteroManager.js") const Ptero = new PteroManager(apiKey, url) async function main() { console.log(await Ptero.getServer(1)); // Server ID }; main() ```