This package has been deprecated

Author message:

Use jspteroapi package instead

@linux123123/jspteroapi
TypeScript icon, indicating that this package has built-in type declarations

2.9.8 • Public • Published

JSPteroAPI

NPM

GitHub GitHub package.json dependency version (prod) Node.js Package GitHub issues GitHub pull requests

A simple Pterodactyl API library using node-fetch

(written in typescript)

To install:

Install from the command line:

Npm

npm install @linux123123/jspteroapi

Yarn

yarn add @linux123123/jspteroapi

Then include it in your application:

const node = require('@linux123123/jspteroapi');
const application = new node.Application('HOST', 'TOKEN'); // for application API
const client = new node.Client('HOST', 'TOKEN'); // for Client API

How to use

You can use any application funtion you want:

application.function(parameters).then((response) => {
  // response
});

or using async / await

const res = await application.function(parameters);

Documentation

Application

Client

Versions

How versions work:

  • The first number is the release.
  • The second number is the function release.
  • The third number is the bug fix release.

Disclaimer

I am not responsible for any damages that you cause to your servers/nodes by using this API.

Remember: This API can potentially be dangerous with the ability to Delete Servers/Nodes at an instant!

Contributors

Created and maintained by Linux123123

Package Sidebar

Install

npm i @linux123123/jspteroapi

Weekly Downloads

15

Version

2.9.8

License

MIT

Unpacked Size

238 kB

Total Files

100

Last publish

Collaborators

  • linux123123