Skip to content

Repository files navigation

mtm-vmossdk

Python SDK for the VMOS Cloud OpenAPI.

Install

pip install mtm-vmossdk

Example

from mtm_vmos_sdk import VMOSClient

client = VMOSClient(
    access_key="your-access-key",
    secret_key="your-secret-key",
    api_base="https://api.vmoscloud.com",
    api_host="api.vmoscloud.com",
)

print(client.infos(page=1, rows=20))

Auth Config

Use VMOSClient for the high-level SDK wrapper, or VMOSAuthConfig plus SignedVMOSApiClient when you need direct low-level API access.

Generated Client

Regenerate the embedded OpenAPI package with:

bash scripts/generate_client.sh

Relationship to mtmai

mtmai is one consumer of this package, but this SDK is designed to be used as an independent Python library.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages