💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
### 4.4.4 实时推送 * 数据变化推送、数据新增推送 * 每次推送全量数据 #### 1、Normal ~~~ { "game_id: 1, //游戏 id "channel": "live", //数据类型(游戏) "push_type":"update", //推送场景(update更新/create或者new新增) "data": { "live_pro": {} //详见4.4.4.2 "race_id": 4488, //小局id "match_id": 10916, //比赛Id "game_id": 10916, //游戏Id "stage": 1, //第几局 "finished": 0, //小局是否完成(1完成/0未完成) "time": 3407, //比赛持续时长 "teams": [ //队伍信息 { "team_id": 45953, //队伍id "team": { "id": 45953, "name": "EURONICS Gaming", "abbr": "ESG", "logo": "xxxxx" }, "side": 1, //阵营 1蓝色2 红色 "score": 32, //队伍得分(实时中此字段速度快) "kills": 32, //队伍总击杀 "assists": 13, //队伍总助攻 "deaths": 5, //队伍总死亡 "gold": 108539, //经济 "gold_diff": -2100,//int //经济差(正数领先,负数落后) "tower_kills": 9, //推塔数 "baron_kills": 0, //击杀的大龙数量 "dragon_kills": 3, //击杀的小龙数量 "barrack_kills": 6, //摧毁水晶数 "herald_kills": 1, //击杀先锋数 "special_kill": { "first_blood":1 //是否一血 "first_drakes":0, //是否首小龙 "first_nashors": 1, //是否首大龙 "first_herald":1, //是否首先锋 "first_inhibitors":0, //是否首水晶 "first_towers":1, //是否首塔 "five_kills":0, //是否首先获得5个击杀 "ten_kills":1, //是否首先获得10个击杀 }, "ban": null, //ban 实时中无数据 "pick": [ { "id": 100, "name_en": "npc_dota_hero_tusk", "name_cn": "巨牙海民", "logo": "xxxxx", }, 。。。。。 ], "players": [{ "player_id": 127483, //选手ID "player": { //选手信息 "id": 127483, "name": "dog", "logo": "xxxxxx" "position": 1, //选手位置 }, "role": { //英雄信息 "id": 47, "name_en": "npc_dota_hero_viper", "name_cn": "冥界亚龙", "logo": "https://api.opendota.com/apps/dota2/images/heroes/viper_icon.png" }, "ability": [ { "id": 28, //召唤师技能ID "logo": "https://XXX.png", //召唤师技能logo "name_en": "flash" //技能英文名 "name_cn": "闪现" //技能中文名 }, { "id": 36, "logo": "https:XXXXXX.png", "name_en": "flash" //技能英文名 "name_cn": "闪现" //技能中文名 } ], "level": 24, //英雄等级 "equipment": [ //装备信息 { "id": 208, //装备id "name_en": "abyssal_blade", //装备英文名 "name_cn": "深渊之刃" //装备中文名 "logo": "xxxxxx" //装备logo "type": "item" //类型(装备/饰品/背包) }, 。。。。。 ], "cs": 298, //正补刀 "hp": 100, //血量 "kills": 8, //击杀 "assists": 13, //助攻 "deaths": 5, //死亡 "kda": "4.20", //kda "team_fight": "0.70", //参团率 "gold_earned": 14558, //选手经济 "exp": 27104, //选手经验 }, 。。。。 ] 。。。。 } ], } ~~~ #### 2、Pro 数据字段 ```json { "game_id": 1, "match_id": 5955, "race_id": 101240, "stage": 1, "finished": 0, "time": 942, "teams": [ { "team_id": 1145, "team": { "id": 1145, "name": "DWG KIA", "abbr": "DK", "logo": "http://dev-img.marzesport.cn/lol/team.png", "icon": "http://dev-img.marzesport.cn/lol/team.png" }, "side": 2, "score": 5, "kills": 5, "deaths": 1, "assists": 8, "gold": 28475, "gold_diff": 5582, "tower_kills": 2, "baron_kills": 0, "dragon_kills": 1, "barrack_kills": 0, "tower_location": [ //塔存在情况                            "top_1":1,      //上路1塔状态                            "top":1,      //上路1塔镀层                             "top_2":1,       //上路2塔状态                             "top_3":1,       //上路高地塔状态                             "middle_1":1,   //中路1塔状态                             "middle":1,   //中路1塔镀层                             "middle_2":1,   //中路2塔状态                             "middle_3":1,   //中路高地塔状态                             "bottom_1":1,   //下路1塔状态                             "bottom":1,   //下路1塔镀层                             "bottom_2":1,   //下路2塔状态                             "bottom_3":1,   //下路高地塔状态                             "ancient_1":1,   //基地上塔                             "ancient_2":1,  //基地下塔 ], "barrack_location": [ //兵营存在情况                             "top_1":1,      //上路近战兵营状态                             "middle_1":1,   //中路近战兵营状态                             "bottom_1":1,   //下路近战兵营状态 "special_kill": { "first_blood":1 //是否首小龙 "drakes":0, //小龙状态(0死了,1存在) "qwrq-drakes":0, //当前小龙种类(0死了,1存在) "first_nashors": 1, //是否首大龙 "nashors": 1, //大龙状态(0死了,1存在) "first_herald":1, //是否首先锋 "herald":1, //峡谷先锋状态(0死了,1存在) "first_inhibitors":0, //是否首水晶 "first_towers":1, //是否首塔 "five_kills":0, //是否首先获得5个击杀 "ten_kills":1, //是否首先获得10个击杀 }, "ban": null, "pick": [ { "id": 3034, "name": "Graves", "logo": "https://dev-img.marzesport.cn/lol/role/.png", "icon": "https://dev-img.marzesport.cn/lol/role/icon.png" } ... ], "players": [ { "player_id": 1, "player": { "id": 0, "name": "DK Khan", "logo": "", "icon": "", "position": "top" }, "role": { "id": 3034, "name": "Graves", "logo": "https://dev-img.marzesport.cn/lol/role.png", "icon": "https://dev-img.marzesport.cn/lol/role/icon.png" }, "equipments": [ { "id": 3365, "name": "Immortal Shieldbow", "logo": "https://dev-img.marzesport.cn/lol/maps/.png", "icon": "https://dev-img.marzesport.cn/lol/maps.png" } ... ], "abilities":[ //技能加点 { "time":0, "level":1, //技能等级 "id":961, //技能ID "name":"圣锤猛击", //技能名 "logo":"XXXXX", "icon":"XXXXX", "type":0 }, 。。。。。。。 ], "level": 11, "cs": 159, "hp": 0, "kills": 1, "assists": 2, "deaths": 0, "kda": "3.0", "team_fight": "0.60000", "gold": 6608, //金币 "wards_destroyed":0, //插眼 "attack_damage":74, //排眼 "ability_power":0, //攻击力 "critical_chance":0, //法术强度 "attack_speed":103, //攻速 "life_steal":0, //吸血 "armor":38, //护甲 "magic_resistance":35, //魔抗 "tenacity":0 //韧性 "nashors": 1, //是否带大龙buff "respawn_timer":0, //复活时间 "position_x":-6614.9541015625, //英雄横坐标 "position_y":2860.9541015625, //英雄纵坐标 } ... ] } ], "economic_diff": { "time": null, "diff": null }, "win_rate": null } ```