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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcss-api-0.0.2.tar.gz.
File metadata
- Download URL: mcss-api-0.0.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f568c638e5a360217905e86c02ca3961fe55e6d435b502ffb798be8046e65464
|
|
| MD5 |
a489351ab7cbb5b04c015e2a92b63c3d
|
|
| BLAKE2b-256 |
5d9675befc7bf0805e0b9a870a2beb790f36d8e1c222065a6c0ae08967854684
|
File details
Details for the file mcss_api-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mcss_api-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99061aadfe40b4b10c4520ad1a7a23a11fa4b30423747256d4f58e6d35a0b6cd
|
|
| MD5 |
ee380b4721d3526cbafcef79dcf35e98
|
|
| BLAKE2b-256 |
ca2c468f3608ca57bc79cc983ceab3cdef76621d13d3686c4e1e4ad2852a0cd2
|