Skip to main content

Stacket API Wrapper

Project description

version

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)

Uploaded Source

Built Distribution

stacket-0.2.1-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page