No description
Find a file
Johannes Schöneberger 0f60394a6c
Bump version to 1.0.1
2025-09-14 02:57:23 +02:00
src/mchost24 Updated packaging setup 2025-08-31 19:27:08 +02:00
.gitattributes Initial commit 2024-04-28 17:06:09 +02:00
.gitignore Update .gitignore 2024-04-30 08:47:05 +02:00
LICENSE Initial commit 2024-04-28 17:06:09 +02:00
pyproject.toml Bump version to 1.0.1 2025-09-14 02:57:23 +02:00
README.md Add link to README 2024-06-03 00:03:11 +02:00
requirements.txt Add requirements file 2024-06-02 22:20:36 +02:00

MC-Host24 Python API

A Python Module that allows interacting with the MC-Host24 REST API.

Installation

The package can be installed by cloning the repository and executing the following command in the directory:

pip install .

Usage

The module mchost24.api contains the dataclasses, types, etc. used by the API and the class MCHost24API can be used to interact with the REST API. The class requires an API key for most of the functionality. This API key can be generated using the API key manager (see below).

API Key Manager

By executing the module with the sub command manage, the API key manager can be opened:

python -m mchost24 manage

This manager allows the generation of new API keys using the user's credentials and the invalidation of existing API keys