Skip to main content

MCSM API

Supported MCSManager Versions Python Version PyPI Downloads Ask DeepWiki

English|Chinese Simplified

Documentation

📄 Docs: docs

💡 Example: example

Introduction

mcsmapi is a PyPI package based on MCSManager, designed to simplify interactions with the MCSM API.

With this library, you can more easily access and operate the various features provided by MCSM.

Installation

You can install mcsmapi using pip:

pip install mcsmapi

If you need the latest build files, please visit Actions

Supported Features

  • Dashboard data (Overview)
  • User management (User)
  • Instance management (Instance)
  • Daemon management (Daemon)
  • File management (File)
  • Image management (Image)

Supported MCSM Versions

MCSM Version Support Status
10.x ✅

Quick Example

from mcsmapi import MCSMAPI

# Initialize
mcsm = MCSMAPI("https://example.com") # https or http required

# Log in with username and password (API permissions depend on the account permissions)
mcsm.login("username", "password")

# Log in with API key (API permissions depend on the API key permissions)
mcsm.login_with_apikey("apikey")

# Get dashboard data
overview = mcsm.overview()
overview_data = overview.overview()

# Get MCSM version
mcsm_version = overview_data.version

Contributing

If you encounter any issues or have suggestions for improvements, feel free to submit an Issue or create a Pull Request.

License

mcsmapi is licensed under the MIT License.

Please refer to the LICENSE file for more details.

Metadata

Release files for mcsmapi 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcsmapi 0.1.8
File Size Uploaded
mcsmapi-0.1.8.tar.gz 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcsmapi 0.1.8
File Interpreter ABI Platform
mcsmapi-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 45.5 kB

Release files / mcsmapi-0.1.8.tar.gz

Download URL mcsmapi-0.1.8.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5f53045dc1adac74e94745e0c380c0a47506ba6240e821875a9fc08cfcb94869
BLAKE2b-256 checksum
How to use checksums
39a2158d8e3e2600d3f57a9c5222021ac768bdcd5f20697dcc43fc5f14fd8c0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / mcsmapi-0.1.8-py3-none-any.whl

Download URL mcsmapi-0.1.8-py3-none-any.whl
Size 26.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fc4492dc8f570dbcbc91ab3e280f27642e33d8c394391eebfad0408db018334
BLAKE2b-256 checksum
How to use checksums
3b77f43e18f57bbb0f02e1afd71fab793213ac7f19f8a7dd51e30699fab94465
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page