A python library for talking to Crafty Web minecraft server control panel
Project description
Crafty-Client
About
Crafty Client is a pypi (pip) package for interfacing with the Crafty Web MC server control panel.
It was written from scratch and is based on requests and urllib3, by kevdagoat
Install
Make sure you have python3 installed on your system with the pip package manager.
For windows (conda) environments
pip install crafty-client
For linux (apt/yum/rpm/etc.) environments
pip3 install crafty-client
Usage
Example:
from crafty_client import CraftyWeb
URL = "https://127.0.0.1:8000" # The location of the crafty-web webserver
API_TOKEN = "<place token here>" # Your crafty Web API token, printed in the console at installation.
cweb = CraftyWeb(URL, API_TOKEN)
print(cweb.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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for crafty_client-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4ad05479759480730385cea01209b70ffefb0468fa57225cdf1d1b79a91d839 |
|
MD5 | 28a7c34977901df1f490f5266900b06d |
|
BLAKE2b-256 | 98a3e6922fa0895a296e068aa586b516329e3f108c888221dfaf8a0d3a3b5ec6 |