Build powerful systems integrating your services together like never before.
Stacket is available on PyPI:
$ python -m pip install stacket
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()}")