Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itstato/pterodactylpy
A Python wrapper for the Pterodactyl API.
https://github.com/itstato/pterodactylpy
pterodactyl pterodactyl-api pterodactyl-api-wrapper pterodactyl-panel pterodactyl-panel-api python python-library python-module python-package python3 python310
Last synced: about 2 months ago
JSON representation
A Python wrapper for the Pterodactyl API.
- Host: GitHub
- URL: https://github.com/itstato/pterodactylpy
- Owner: ItsTato
- License: bsd-3-clause
- Created: 2024-09-09T00:50:01.000Z (4 months ago)
- Default Branch: edge
- Last Pushed: 2024-09-17T02:04:43.000Z (4 months ago)
- Last Synced: 2024-09-26T09:14:58.395Z (3 months ago)
- Topics: pterodactyl, pterodactyl-api, pterodactyl-api-wrapper, pterodactyl-panel, pterodactyl-panel-api, python, python-library, python-module, python-package, python3, python310
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PterodactylPy
> [!CAUTION]
> Package is still in very early development. Do not use in a production environment!> [!WARNING]
> All current code and structure is subject to change.A Python wrapper for the Pterodactyl API.
## Random Notes
- [ ] [User].update(), [Node].delete(), etc.
- - [x] User
- - [ ] Allocations
- - [ ] Nodes
- [ ] .setter functions that update (as many details as they can) in panel
- - [ ] User
- - [ ] Allocations
- - [ ] Nodes
- [ ] Implement pagination
- [ ] Add include arguments to everything
- [ ] Improve update_user to allow for multiple fields at once## Example
```python title="get_user.py"
import pterodactylpanel_url:str = "http://panel.example.com/"
pterodactyl_application_key:str = "ptla_shhhhhhhhhhhhhhhhhhhhh!"Panel = pterodactyl.API.Application(panel_url,pterodactyl_application_key)
user = Panel.Users.get_user(1)
user.set("first_name","Tato")
```