介面開啟了流量限制,單IP請求上限50次/分,否則會被認為是攻擊,拉入黑名單!
一、英雄串列
用于獲取所有的英雄串列,一般沒啥用
https://www.sapi.run/hero/herolist.json
二、戰力查詢
1、文字版本
回傳json格式,自行決議
介面:
https://www.sapi.run/hero/select.php
引數:
hero:英雄名字
type:qq、wx、ios_qq、ios_wx
示例:
https://www.sapi.run/hero/select.php?hero=孫悟空&type=qq
2、圖片版
回傳圖片,可以直接發送;內置3種卡片可選,和部分定制卡片
介面:
https://www.sapi.run/pic/getHero.php
引數:
hero:英雄名字
type:qq、wx、ios_qq、ios_wx
card:1、2、3
format:json、png
例如:
https://www.sapi.run/pic/getHero.php?hero=孫悟空&type=ios_qq&format=json&card=2
3、公眾號版
需要利用第三方平臺對接公眾號后臺,實作自動回復
第三方平臺:騰訊微校
介面:https://www.sapi.run/gzh/mengkong6/hero.php
秘鑰:zhanlizhushou
三、戰力預測
來自官方的預測資料,我自行采集榜單前10條資料
介面:
https://www.sapi.run/hero/selectTop.php
引數:
hero:英雄名
type:aqq、awx、iqq、iwx
area: 省、市、縣
例如:
https://www.sapi.run/hero/selectTop.php?hero=孫悟空&type=aqq&area=省
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/298404.html
標籤:其他
