Skip to main content

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


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 details)

Uploaded Source

Built Distribution

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

crafty_client-2.0.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file crafty_client-2.0.0.tar.gz.

File metadata

  • Download URL: crafty_client-2.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for crafty_client-2.0.0.tar.gz
Algorithm Hash digest
SHA256 98627f810a050c6c54efd2e6d0689d3017dc339b962cf4954cedb4b260a55323
MD5 edf915db07389743fb6785a719ca0e65
BLAKE2b-256 f988f521a284b745912501fec52878a2d2266017d08e604cc7dbd92c77fa1913

See more details on using hashes here.

File details

Details for the file crafty_client-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: crafty_client-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for crafty_client-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc2fe8e2317887f188a9118a6a0521ac692e3ef277594b0fc5c6e81315b0c6db
MD5 3afe8c4e3258b00444b2541603459d58
BLAKE2b-256 8e4ef4cc3b4b8832f4c74de33f26c208f806367c034a460eece620d81b63fe0e

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