Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 873 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 873 Bytes

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.

Install

CRAFTY CLIENT IS NOT READY FOR INSTALL VIA PIP YET

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.

crafty = CraftyWeb(URL, API_TOKEN)

print(crafty.get_all_servers())