Skip to content

Simplify your interaction with Pterodactyl's capabilities using the my-pterodactyl API wrapper. With just a few lines of code, you can harness the full potential of Pterodactyl's API.

9ayman/my-pterodactyl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Pterodactyl API Wrapper

GitHub license GitHub stars GitHub issues

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

Features

  • User Management: Effortlessly manage users with create, update, delete, and retrieval capabilities.
  • Server Manipulation: Control servers with options for creation, suspension, reinstallation, and more.
  • File Operations: Manage files and directories on servers, including read, write, and folder creation.
  • Server Information: Retrieve detailed information about servers and users.
  • Discord Support: Need help or have questions? Join our Discord server for support and discussions.

Installation

npm install my-pterodactyl

Usage

const PteroManager = require('my-pterodactyl');

// Initialize the wrapper
const ptero = new PteroManager('your-api-key', 'https://your-ptero-instance.com');

// Example usage
(async () => {
  const newUser = await ptero.createUser({
    username: 'newuser',
    email: 'newuser@example.com',
    password: 'securepassword'
  });

  const newServer = await ptero.createServer({
    name: 'My New Server',
    user: newUser.id,
    // ... other server properties
  });

  // ... more examples of wrapper functions
})();

Documentation

Check out the full documentation for detailed usage examples.

Support

Join our Discord server for support and discussions.

About

Simplify your interaction with Pterodactyl's capabilities using the my-pterodactyl API wrapper. With just a few lines of code, you can harness the full potential of Pterodactyl's API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published