-1

我需要一个链接来获取 Dota 2 中所有比赛的数量和获胜比赛的数量。

我使用http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v0001/?key=[YOURAPIKEY]&steamid=[STEAMID]&format=json 但结果是:

{
    "response": {
        "total_count": 1,
        "games": [
            {
                "appid": 570,
                "name": "Dota 2",
                "playtime_2weeks": 2273,
                "playtime_forever": 197614,
                "img_icon_url": "0bbb630d63262dd66d2fdd0f7d37e8661a410075",
                "img_logo_url": "d4f836839254be08d8e9dd333ecc9a01782c26d2"
            }
        ]

    }
}

编号所有未检测到的匹配项:(

4

2 回答 2

2

This is not the correct API to use for this kind off query. A very quick Google search indicates that something like this is what you're looking for.

于 2014-11-17T00:33:42.640 回答
0

“对dota 2中的所有比赛进行编号”和“获胜比赛”是什么意思?我认为你应该让你的问题更清楚。

以下页面提供了一个dota2 Web API列表,您应该先检查它: 开始API开发之前您应该知道的事情。Valve 似乎没有为总玩过的 Dota 2 游戏提供该 API。

而且我认为“赢得比赛”应该是指“Radiant 赢得比赛”,因为在 Dota 2 比赛中总会有赢家。您可以访问一些 Dota 2 统计网站(例如dotabuff)来寻找答案。

于 2018-05-11T07:16:35.263 回答