王者荣耀苹果区战力的接口,数据每周一会更新
接口地址 <span style="color:red;">支持GET、POST</span>
获取英雄列表(不含战力信息)
https://xcx.gamehook.top/api/hero/list
返回参数结构
{
"code":0,
"msg":"ok",
"data":[
{
"id":1,
"hero_name":"韩信",
"hero_photo":"https:\/\/xcx.gamehook.top\/uploads\/wzry\/1.png",
"type":"刺客",
"create_time":1619614404
},
{
"id":2,
"hero_name":"百里玄策",
"hero_photo":"https:\/\/gamehook.top\/uploads\/wzry\/2.png",
"type":"刺客",
"create_time":1619614404
}
]
}
查询单个英雄详情战力接口
https://xcx.gamehook.top/api/hero/select
参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
auth_code | 是 | string | 授权码 |
id | 二选一 | int | 通过列表返回的id |
hero_name | 二选一 | string | 英雄名称(可模糊) |
auth_code授权码(必传)可在发卡网进行购买
返回结构
{
"code":0,
"msg":"查询成功",
"data":{
"id":2,
"hero_name":"百里玄策",
"hero_photo":"https:\/\/xcx.gamehook.top\/\/uploads\/wzry\/2.png",
"type":"刺客",
"hero_title":"嚣狂之镰-百里玄策",
"qq_area":"大柴旦",
"qq_area_power":"3164",
"qq_city":"盘锦市",
"qq_city_power":"5129",
"qq_province":"台湾省",
"qq_province_power":"7616",
"qq_update_time":"2021-05-31 00:11:14",
"wx_area":"娄烦县",
"wx_area_power":"1058",
"wx_city":"克拉玛依市",
"wx_city_power":"4315",
"wx_province":"澳门",
"wx_province_power":"7148",
"wx_update_time":"2021-05-31 00:16:52",
"ios_qq_area":"吴桥县",
"ios_qq_area_power":"1077",
"ios_qq_city":"张家界市",
"ios_qq_city_power":"3309",
"ios_qq_province":"新疆自治区",
"ios_qq_province_power":"5924",
"ios_qq_update_time":"2021-05-31 00:21:52",
"ios_wx_area":"文圣区",
"ios_wx_area_power":"1057",
"ios_wx_city":"海北州",
"ios_wx_city_power":"3536",
"ios_wx_province":"香港",
"ios_wx_province_power":"6559",
"ios_wx_update_time":"2021-05-31 00:26:39",
"create_time":1619614404,
"update_time":1621862534
}
}
code 为0查询成功、1为查询失败
6 条评论
无法购买了呀
这接口怎么用啊
我查了一下返回说免费版,后期是会收费还是说会有啥限制
查询速度延迟,收费5元一个月也不贵啊维持下服务器费用
想要小程序源码
可以可以