A python library for talking to Crafty Controller - a server management panel
Project description
Crafty-Client
About
Crafty Client is a pypi (pip) package for interfacing with the Crafty server control panel.
Install
Make sure you have python3 installed on your system with the pip package manager.
For Windows environments
pip install crafty-client
For linux (apt/yum/rpm/etc.) environments
pip3 install crafty-client
Usage
Example:
from crafty_client import Crafty4
URL = "https://127.0.0.1:8443" # The location of the crafty-web webserver
API_TOKEN = "<place token here>" # Your crafty Web API token, printed in the console at installation.
crafty = Crafty4(URL, API_TOKEN)
print(crafty.list_mc_servers())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crafty_client-2.0.0.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for crafty_client-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc2fe8e2317887f188a9118a6a0521ac692e3ef277594b0fc5c6e81315b0c6db |
|
MD5 | 3afe8c4e3258b00444b2541603459d58 |
|
BLAKE2b-256 | 8e4ef4cc3b4b8832f4c74de33f26c208f806367c034a460eece620d81b63fe0e |