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) 272 B
# How to get an user ```js const { PteroManager } = require("./PteroManager.js") const Ptero = new PteroManager(apiKey, url) async function main() { console.log(await Ptero.getUser(1)); // User ID console.log(await Ptero.getUser("example@gmail.com")); }; main() ```