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.createService({
"type": "minecraft",
"node": "aad10",
"package": "pkg1",
"platform": "spigot",
"version": "1.8.8"
})
for service in client.getServices():
print(f"{service.getId()} : {service.getStatus()}")
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.1.2.tar.gz
(5.1 kB
view hashes)