> For the complete documentation index, see [llms.txt](https://lmadactyl.js.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lmadactyl.js.org/client/features.md).

# Features

Methods of package.

## Node Status

See the status of each node

```javascript
const ptero = require('lmadactyl')
let result = await ptero.client.features.nodeStatus("https://yourpanel.com", "apikey")
console.log(result) //[{node: "test", online: false, maintence: false}]
```

| Parameter              | Value                              |
| ---------------------- | ---------------------------------- |
| panelURL (Type STRING) | The link to your pterodactyl panel |
| apiKey (Type STRING)   | Type 2                             |

## Request

Did you miss something from the package? Then make the request yourself!

```javascript
const ptero = require('lmadactyl')
let result = await ptero.client.features.request("https://yourpanel.com/api/client/servers", {Authorization: 'Bearer xxx'}, "GET", null)
console.log(result) //Request return
```

| Parameter                         | Value                                                      |
| --------------------------------- | ---------------------------------------------------------- |
| endpoint (Type STRING)            | The link to your pterodactyl panel                         |
| header (Type OBJECT)              | header object                                              |
| method (Type GET)                 | Request type. (Valid types: get, patch, post, delete, put) |
| Body object (Default value: null) | Body object (Default value: null)                          |
