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.

13 lines (10 loc) 294 B
# How to get an user servers ```js const { PteroManager } = require("./PteroManager.js") const Ptero = new PteroManager(apiKey, url) async function main() { console.log(await Ptero.getUserServers(1)); // User ID console.log(await Ptero.getUserServers("example@gmail.com")); }; main() ```