A library to easily access the MCSS api.
Project description
MCSS Python API
Allows for easy access to the MCSS API.
Installation
pip install mcss-api
Usage
Initialization
Import the mcss module:
from mcss import *
Create the MCSS instance:
Use this if you want the app to stop if the connection fails
mcss = MCSS("http://localhost:25560", True)
Use this if you want to manage failed states yourself
mcss = MCSS("http://localhost:25560", False)
Example fail state management:
if mcss.com_open == False:
print("Failed to connect to MCSS")
Authenticating with the MCSS API
mcss.token = "YOUR_TOKEN"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mcss-api-0.0.2.tar.gz
(3.9 kB
view hashes)