{"id":31776192,"url":"https://github.com/molanp/mcsmapi","last_synced_at":"2025-10-10T05:26:15.328Z","repository":{"id":252443485,"uuid":"840458787","full_name":"molanp/mcsmapi","owner":"molanp","description":"Shortcut the pypi package of MCSManager./快捷操作MCSManager的pypi包","archived":false,"fork":false,"pushed_at":"2025-10-06T08:54:08.000Z","size":2319,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T10:33:46.535Z","etag":null,"topics":["mcsm","mcsmanager","mcsmanager-sdk","pypi","pypi-package"],"latest_commit_sha":null,"homepage":"https://mcsmapi.awkchan.top/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/molanp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-09T18:51:47.000Z","updated_at":"2025-10-06T08:45:18.000Z","dependencies_parsed_at":"2024-08-12T11:47:46.745Z","dependency_job_id":"b31f9a41-88bb-4940-a6c6-64594a956934","html_url":"https://github.com/molanp/mcsmapi","commit_stats":null,"previous_names":["molanp/mcsmapi-client","molanp/mcsmapi"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/molanp/mcsmapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fmcsmapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fmcsmapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fmcsmapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fmcsmapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/molanp","download_url":"https://codeload.github.com/molanp/mcsmapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fmcsmapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002604,"owners_count":26083427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mcsm","mcsmanager","mcsmanager-sdk","pypi","pypi-package"],"created_at":"2025-10-10T05:26:12.373Z","updated_at":"2025-10-10T05:26:15.323Z","avatar_url":"https://github.com/molanp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCSM API\n\n![Supported MCSManager Versions](https://img.shields.io/badge/Supported%20MCSManager%20Versions-10.x-blue)\n![Python Version](https://img.shields.io/badge/Python%20Version-%3E%3D3.7-blue)\n![PyPI Downloads](https://img.shields.io/pypi/dm/mcsmapi)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/molanp/mcsmapi)\n\nEnglish|[Chinese Simplified](README_zh-cn.md)\n\n## Documentation\n\n📄 Docs: [docs](https://mcsmapi.awkchan.top/en/)\n\n💡 Example: [example](example)\n\n## Introduction\n\n`mcsmapi` is a PyPI package based on [MCSManager](https://github.com/MCSManager/MCSManager), designed to simplify interactions with the MCSM API.\n\nWith this library, you can more easily access and operate the various features provided by MCSM.\n\n## Installation\n\nYou can install `mcsmapi` using `pip`:\n\n```bash\npip install mcsmapi\n```\n\nIf you need the latest build files, please visit\n[Actions](https://github.com/molanp/mcsmapi/actions/workflows/auto-build.yml)\n\n## Supported Features\n\n- [x] Dashboard data (`Overview`)\n- [x] User management (`User`)\n- [x] Instance management (`Instance`)\n- [x] Daemon management (`Daemon`)\n- [x] File management (`File`)\n- [x] Image management (`Image`)\n\n## Supported MCSM Versions\n\n| MCSM Version | Support Status |\n| :----------: | :------------: |\n|     10.x     |       ✅       |\n\n### Quick Example\n\n```python\nfrom mcsmapi import MCSMAPI\n\n# Initialize\nmcsm = MCSMAPI(\"https://example.com\") # https or http required\n\n# Log in with username and password (API permissions depend on the account permissions)\nmcsm.login(\"username\", \"password\")\n\n# Log in with API key (API permissions depend on the API key permissions)\nmcsm.login_with_apikey(\"apikey\")\n\n# Get dashboard data\noverview = mcsm.overview()\noverview_data = overview.overview()\n\n# Get MCSM version\nmcsm_version = overview_data.version\n```\n\n## Contributing\n\nIf you encounter any issues or have suggestions for improvements, feel free to submit an [Issue](https://github.com/molanp/mcsmapi/issues) or create a [Pull Request](https://github.com/molanp/mcsmapi/pulls).\n\n## License\n\n`mcsmapi` is licensed under the [MIT License](https://opensource.org/licenses/MIT).\n\nPlease refer to the [LICENSE](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolanp%2Fmcsmapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmolanp%2Fmcsmapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolanp%2Fmcsmapi/lists"}