如何通过V社官方API查找比赛记录
2016-01-19 16:53
344 查看
API基本介绍。 http://dev.dota2.com/showthread.php?t=58317
查询某一联赛所有比赛步骤:
1、查询该联赛 league_id
2、使用以下API查询所有比赛
https://api.steampowered.com/IDOTA2Match_570/GetMatchHistory/V001/?key=&league_id=<<span style="line-height: 21px;">league_id>
保存所有match_id记录
3、查询出来之后,可以使用以下API查询某一比赛的详细信息。
https://api.steampowered.com/IDOTA2Match_570/GetMatchDetails/V001/?key=&match_id=<<span style="line-height: 21px;">match_id>
这里面涉及太多id。
有些id需要列成字典保存。
1、英雄id
2、玩家id
3、队伍id
查询某一联赛所有比赛步骤:
1、查询该联赛 league_id
2、使用以下API查询所有比赛
https://api.steampowered.com/IDOTA2Match_570/GetMatchHistory/V001/?key=&league_id=<<span style="line-height: 21px;">league_id>
保存所有match_id记录
3、查询出来之后,可以使用以下API查询某一比赛的详细信息。
https://api.steampowered.com/IDOTA2Match_570/GetMatchDetails/V001/?key=&match_id=<<span style="line-height: 21px;">match_id>
这里面涉及太多id。
有些id需要列成字典保存。
1、英雄id
2、玩家id
3、队伍id
相关文章推荐
- DOTA2公布在即 科隆游戏展宣传视频曝光 | 百万美元DOTA2邀请赛开战!赛程一览
- [游戏资讯][转]因缺乏诚信 中国或将丧失《DOTA2》内测资格
- 在DOTA2中突破移动速度上限的办法
- DOTA2 6.86更新日志 史诗级巨变英雄大改
- Linux下玩转Dota2
- (娱乐)从数据的来看第4届DOTA2国际邀请赛(TI4)战队夺冠预测
- 个人讨厌LOL的理由:该游戏及是付出和回报不平的印证
- Dota2 AI 简易开发教程
- Dota2 AI 简易开发教程(一)——选择阵容及技能使用
- Dota2 AI 简易开发教程(二)——英雄出装及其相关功能
- 纸上谈兵-Dota2
- 关于DOTA2排名前5战队惯用英雄分析
- 关于DOTA2排名前5战队惯用英雄分析(二)
- python dota2数据 1 API
- python dota2数据 3 下载胜负数据
- npcppp开箱,csgo开箱幸运升级内容更新
- 欧皇必玩的dota2,csgo开箱子网站 - Flamecases
- xcode7 创建新工程
- Examples Generating Excel Documents Using Python’s xlwt