我们致力于为用户提供丰富、稳定、快速、免费的API数据接口服务。
提供steam游戏对应APPID获取对应游戏的在线人数情况
接口地址: https://jkapi.com/api/steam_rank
返回格式: JSON
请求方式: GET
请求示例: https://jkapi.com/api/steam_rank?appid=578080
请求参数说明:
名称 | 必填 | 类型 | 说明 |
---|---|---|---|
appid | 是 | 整数 | 要查询的游戏所对应的APPID |
返回参数说明:
名称 | 类型 | 说明 |
---|
返回示例:
{ "code":1, "msg":"", "app_id":"578080", "name":"PUBG: BATTLEGROUNDS", "name_cn":"绝地求生", "peak_t":"1514736000", "current":"397135", "current_rank":"4", "peak":"3236027", "peak_rank":"1", "day_peak":"405014", "day_peak_rank":"4", "month_peak":"417901", "month_peak_rank":"4", "year_peak":"490332", "year_peak_rank":"6", "update_time":"Mon, 03 Apr 2023 14:20:13 GMT", "short_description":"绝地求生(PLAYERUNKNOWN’S BATTLEGROUNDS)是战术竞技类型的游戏,每一局游戏将有100名玩家参与,他们将被投放在绝地岛(battlegrounds)的上空,游戏开始跳伞时所有人都一无所有。" }
请求参数设置:
参数名称 | 参数值 |
---|---|
{ "code":1, "msg":"", "app_id":"578080", "name":"PUBG: BATTLEGROUNDS", "name_cn":"绝地求生", "peak_t":"1514736000", "current":"397135", "current_rank":"4", "peak":"3236027", "peak_rank":"1", "day_peak":"405014", "day_peak_rank":"4", "month_peak":"417901", "month_peak_rank":"4", "year_peak":"490332", "year_peak_rank":"6", "update_time":"Mon, 03 Apr 2023 14:20:13 GMT", "short_description":"绝地求生(PLAYERUNKNOWN’S BATTLEGROUNDS)是战术竞技类型的游戏,每一局游戏将有100名玩家参与,他们将被投放在绝地岛(battlegrounds)的上空,游戏开始跳伞时所有人都一无所有。" }
错误码格式说明:
名称 | 类型 | 说明 |
---|
代码示例: