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 details)
Built Distribution
File details
Details for the file stacket-0.2.1.tar.gz
.
File metadata
- Download URL: stacket-0.2.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2288597cbb816bcb07b0fac194d9e212d3285b7ae7a2aa4597bdab4d82d8cf2 |
|
MD5 | 5694fc4f41bfd642528b5b69240a14ca |
|
BLAKE2b-256 | f0f292334f049471c4f35e664192437bee078b34ce43272d98f47c5f2eae12b0 |
File details
Details for the file stacket-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: stacket-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 229bf8461254798c620c1cec45540bbb513a2a5026a84380c0b2bedc84e28b31 |
|
MD5 | 5b5eef1256e89217d1849d2a54773813 |
|
BLAKE2b-256 | 339e60488d1454502d4f17323f44676cbcee7c099952066ac9ba15eba450cb07 |