{"id":20183665,"url":"https://github.com/zkitefly/mcmod-api","last_synced_at":"2026-01-31T07:31:23.721Z","repository":{"id":227904382,"uuid":"772682203","full_name":"zkitefly/mcmod-api","owner":"zkitefly","description":"非官方API，内容来自网页","archived":false,"fork":false,"pushed_at":"2025-02-08T11:26:51.000Z","size":32,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-25T13:03:45.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mcmod-api.vercel.app","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/zkitefly.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}},"created_at":"2024-03-15T17:15:51.000Z","updated_at":"2025-04-13T06:12:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"14464840-da69-47c8-a967-393a439cdff3","html_url":"https://github.com/zkitefly/mcmod-api","commit_stats":null,"previous_names":["zkitefly/mcmod-api"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zkitefly/mcmod-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkitefly%2Fmcmod-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkitefly%2Fmcmod-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkitefly%2Fmcmod-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkitefly%2Fmcmod-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkitefly","download_url":"https://codeload.github.com/zkitefly/mcmod-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkitefly%2Fmcmod-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28933224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-14T02:46:51.002Z","updated_at":"2026-01-31T07:31:23.708Z","avatar_url":"https://github.com/zkitefly.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mcmod-api\n\n非官方 MCMOD API，提供 MCMOD 网站的搜索和详情数据查询功能。\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fzkitefly%2Fmcmod-api)\n\n## API 端点\n\n### 1. 搜索 API\n\n**请求格式：**\n```\nGET /s/{search_params}\n```\n\n搜索参数支持 MCMOD 网站原有的所有参数格式，例如：\n- 基础搜索：`/s/key=关键词`\n- 高级搜索：`/s/key=关键词\u0026site=\u0026filter=1\u0026mold=1`\n\n**示例：**\n```\nhttps://mcmod-api.zkitefly.eu.org/s/key=Fabulously%20Optimized\n```\n\n### 2. 详情 API\n\n**请求格式：**\n```\nGET /d/{type}/{id}\n```\n\n- `type`: 内容类型 (class/modpack)\n- `id`: 内容 ID\n\n**示例：**\n```\nhttps://mcmod-api.zkitefly.eu.org/d/class/1234\n```\n\n## 返回数据\n\n### 搜索 API 返回字段\n- `address`: 条目链接\n- `title`: 标题\n- `description`: 描述\n- `snapshot_time`: 快照时间\n- `data`: \n  - `mcmod_id`: MCMOD ID\n  - `abbr`: 简称（如有）\n  - `chinese_name`: 中文名称\n  - `sub_name`: 副标题\n  - `category`: 分类\n\n### 详情 API 返回字段\n- `title`: 标题\n- `subtitle`: 英文标题\n- `cover_image`: 封面图片\n- `supported_versions`: 支持的游戏版本\n- `related_links`: 相关链接\n- `operating_environment`: 运行环境\n- `tag_links`: 标签\n- `short_name`: 简称\n- `recorded_time`: 收录时间\n- `last_edit_time`: 最后编辑时间\n- `last_recommend_time`: 最后推荐时间\n- `edit_count`: 编辑次数\n- `authors`: 作者信息\n- `mod_relations`: 关联模组\n\n## 部署\n\n点击上方的 \"Deploy with Vercel\" 按钮即可快速部署。\n\n## 注意事项\n\n1. 本 API 为非官方实现，仅供学习交流使用\n2. 请合理使用，避免频繁请求\n3. API 数据来源于 MCMOD 网站，版权归原网站所有\n\n## 许可证\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkitefly%2Fmcmod-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkitefly%2Fmcmod-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkitefly%2Fmcmod-api/lists"}