Stacket API Wrapper
Project description
Stacket API Wrapper : Python
Build powerful systems integrating your services together like never before.
Installing Requests and Supported Versions
Stacket is available on PyPI:
$ python -m pip install stacket
Example usage
from stacket.StacketClient import StacketClient
client = StacketClient("auth-token")
if not client.verify():
print("Token not authenticated with Stacket")
else:
print("Authenticated with Stacket")
client.create_service({
"type": "minecraft",
"node": "aad10",
"package": "pkg1",
"platform": "spigot",
"version": "1.8.8"
})
for service in client.get_services():
print(f"{service.get_id()} : {service.get_status()}")
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
stacket-0.2.1.tar.gz
(5.2 kB
view hashes)