原神角色卡池信息API
本接口总调用:431次·今日调用:3次

接口地址: https://api.suyanw.cn/api/mihoyo_ys_pool.php

返回格式: 请看返回示例

请求方式: GET

请求示例: https://api.suyanw.cn/api/mihoyo_ys_pool.php

请求参数说明:

名称必填说明

系统级错误:

名称说明
400请求错误!
403请求被服务器拒绝!
405客户端请求的方法被禁止!
408请求时间过长!
500服务器内部出现错误!
501服务器不支持请求的功能,无法完成请求!
503系统维护中!

返回示例:

{
    "code": 1,
    "text": "Success/成功",
    "data": [
        {
            "id": 87,
            "title": "「柔柔海露心」祈愿",
            "activity_url": "https://www.miyoushe.com/ys/article/54031539",
            "content_before_act": "「龙女妙变·希格雯(水)」即将概率UP!",
            "pool": [
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2024/06/25/195563531/b517758b373bfdc2afa3a93e0f68381f_7517943505790675886.png",
                    "url": "https://bbs.mihoyo.com/ys/obc/content/501214/detail?bbs_presentation_style=no_header",
                    "ext": ""
                },
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2024/06/25/195563531/2b04443b4a98a07ab7e933399fbd2e6e_1601059300196145725.png",
                    "url": "https://bbs.mihoyo.com/ys/obc/content/500672/detail?bbs_presentation_style=no_header",
                    "ext": ""
                },
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2024/06/25/195563531/bdec34acae15315368017c1dbc29e106_5257169679594759579.png",
                    "url": "https://bbs.mihoyo.com/ys/obc/content/1744/detail?bbs_presentation_style=no_header",
                    "ext": ""
                },
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2024/06/25/195563531/2156b7be8f604ed8bd645d64bc618f7d_4377335014972513740.png",
                    "url": "https://bbs.mihoyo.com/ys/obc/content/111/detail?bbs_presentation_style=no_header",
                    "ext": ""
                }
            ],
            "voice_icon": "",
            "voice_url": "",
            "voice_status": 1,
            "start_time": "2024-06-25 18:00:00",
            "end_time": "2024-07-16 14:59:59"
        },
        {
            "id": 86,
            "title": "「众水的颂诗」祈愿",
            "activity_url": "https://www.miyoushe.com/ys/article/54031540",
            "content_before_act": "「不休独舞·芙宁娜(水)」即将概率UP!",
            "pool": [
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2024/06/25/195563531/376ed8406d6315d5a77f4cdd5e917b9b_2885680053402817733.png",
                    "url": "https://bbs.mihoyo.com/ys/obc/content/500291/detail?bbs_presentation_style=no_header",
                    "ext": ""
                },
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2024/06/25/195563531/2b04443b4a98a07ab7e933399fbd2e6e_737748956244139559.png",
                    "url": "https://bbs.mihoyo.com/ys/obc/content/500672/detail?bbs_presentation_style=no_header",
                    "ext": ""
                },
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2024/06/25/195563531/bdec34acae15315368017c1dbc29e106_1843914504717799007.png",
                    "url": "https://bbs.mihoyo.com/ys/obc/content/1744/detail?bbs_presentation_style=no_header",
                    "ext": ""
                },
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2024/06/25/195563531/2156b7be8f604ed8bd645d64bc618f7d_303198849351982237.png",
                    "url": "https://bbs.mihoyo.com/ys/obc/content/111/detail?bbs_presentation_style=no_header",
                    "ext": ""
                }
            ],
            "voice_icon": "",
            "voice_url": "",
            "voice_status": 1,
            "start_time": "2024-06-25 18:00:00",
            "end_time": "2024-07-16 14:59:59"
        }
    ]
}

错误码格式说明:

名称说明
1获取成功
-1获取失败

代码示例:

暂无示例