HMCL icon indicating copy to clipboard operation
HMCL copied to clipboard

[Feature] 支持数据包搜索下载

Open zkitefly opened this issue 1 year ago • 3 comments

描述 | Description

RT,CurseForge 和 Modrinth 平台均已支持数据包下载(但 API 我还没看)

原因 | Reason

zkitefly avatar Feb 13 '24 05:02 zkitefly

你看看 https://docs.curseforge.com/#get-categories 获取下来的有没有数据包

hejiehao avatar Feb 14 '24 07:02 hejiehao

        {
            "id": 6952,
            "gameId": 432,
            "name": "Magic",
            "slug": "magic",
            "url": "https://www.curseforge.com/minecraft/data-packs/magic",
            "iconUrl": "https://media.forgecdn.net/avatars/944/333/638428201403204473.png",
            "dateModified": "2024-02-06T12:42:20.32Z",
            "classId": 6945,
            "parentCategoryId": 6945,
            "displayIndex": 0
        },
        {
            "id": 6947,
            "gameId": 432,
            "name": "Miscellaneous",
            "slug": "miscellaneous",
            "url": "https://www.curseforge.com/minecraft/data-packs/miscellaneous",
            "iconUrl": "https://media.forgecdn.net/avatars/944/328/638428200699783193.png",
            "dateModified": "2024-02-06T12:41:09.977Z",
            "classId": 6945,
            "parentCategoryId": 6945,
            "displayIndex": 0
        },
        ...

zkitefly avatar Feb 14 '24 07:02 zkitefly

Labrinth 也支持下载数据包

hejiehao avatar Feb 14 '24 08:02 hejiehao