Skip to main content

Pterodactyl panel API wrapper

Project description

Pythactyl

This Pterodactyl panel API wrapper is an unofficial wrapper. I made this in my free time and intend to improve as I go along

Install

python -m pip install pythactyl

Client

from Pythactyl.Client import PterodactylClient

client = PterodactylClient(url="https://panel.address.com", api_key="clientAPI")

personal = client.listServers()

print([x for x.name in personal])

>> ['Fivem Server', 'Minecraft server awesome', 'Teamspeak 1.22']

Admin

from Pythactyl.Admin import PterodactylAdmin

admin = PterodactylAdmin(url="https://panel.address.com", api_key="adminAPI"))

user = admin.createUser('email@email.com', 'Bob', 'Simmons', root_admin=True)

admin.editUser(user.id, username="INeedANewName")

Information

I will be uploading documentation when the wrapper is completed. If you wish to know more syntax, you'll either have to source code dive or DM me: Gadget#6181.

Need help?

Join my discord for more support on this wrapper: https://discord.gg/gnpZRcYqcn

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Pythactyl-2.18.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Pythactyl-2.18-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file Pythactyl-2.18.tar.gz.

File metadata

  • Download URL: Pythactyl-2.18.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for Pythactyl-2.18.tar.gz
Algorithm Hash digest
SHA256 7cb8070a325a8de14257f094026fcd2774dd7fa418f92eac981561ef81125c3a
MD5 eeb0fefa639f46d2d82738769a79da60
BLAKE2b-256 137d7b064279aa8b406d9c6ea5547849b9fba600cc2f6d8eab7fb8c5d40bbdcd

See more details on using hashes here.

File details

Details for the file Pythactyl-2.18-py3-none-any.whl.

File metadata

  • Download URL: Pythactyl-2.18-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for Pythactyl-2.18-py3-none-any.whl
Algorithm Hash digest
SHA256 96d3e9cfd6c3377b102ee3fec85176374ce6aba199582caeb50ace480f45ba0a
MD5 e8c456bba1775a24dd7df4ccc58c309a
BLAKE2b-256 b28104033bb7c7d9db7c9a38dbaad803b5d5533b8bae5c0527f70017593a2742

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page