Pterom is a open source API wrapper for Pterodactyl that is built with TypeScript. It will support the Application & Client side of the API. Currenty it is a work in progress but client side seems stable.
This library works by querying the Pterodactyl API V1 (REST requests) using a library called AXIOS.
npm i pterom
OR
yarn add pterom// ESM
import Pterom from 'pterom';
// CJS
const Pterom = require('pterom');const pt = new Pterom({
host: 'HOST',
clientKey: 'CLIENT_API_KEY',
appKey: 'APP_API_KEY',
});// For client
pt.client;
// For application
pt.app;pt.client.listServers().then((res) => console.log(res));
pt.app.listServers().then((res) => console.log(res));The full documentation has been started but is not yet done. But JSDocs will be included within the code.
This project is licensed under the terms of the GPL-3.0 License.
You can check out the full license HERE
Thanks goes to these wonderful people:
cainthebest 💻 📖 |
mister 💻 📖 |
GHOST 💻 📖 |
Rejxcted 📖 |
Lynx White 📖 💻 |
| Emoji/Type | Represents | Comments |
|---|---|---|
🐛 bug |
Bug reports | Links to issues reported by the user on this project |
💻 code |
Code | Links to commits by the user on this project |
📖 doc |
Documentation | Links to commits by the user on this project, Wiki, or other source of documentation |
💡 example |
Examples | People that have created examples to help others |
💵 financial |
Financial Support | People or orgs who provide financial support |
🤔 ideas |
Ideas & Planning | |
🚧 maintenance |
Maintenance | People who help in maintaining the repo |
🧑🏫 mentoring |
Mentoring | People who mentor new contributors |
📆 projectManagement |
Project Management | |
💬 question |
Answering Questions | Answering Questions in Issues etc. |
👀 review |
Reviewed Pull Requests | |
🛡️ security |
Security | Identify and/or reduce security threats, Privacy, etc |
test |
Tests | People that have created tests |
✅ tutorial |
Tutorials | content creators that have made tutorials on this wrapper |
📓 userTesting |
User Testing | People that have found an issue via testing |
