Skip to content

Simonmaribo/Stacket-API-Wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()}")

About

A python library which utilizes Stacket.net's RESTAPI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages