【问题标题】:Is it possible to extract game's specific data using steam API?是否可以使用 Steam API 提取游戏的特定数据?
【发布时间】:2016-03-05 13:08:47
【问题描述】:

我是 Json 和 API 的新手。

但是,为了学习,我现在正在研究如何从 Steam API 获取特定的游戏数据。

我遵循了很多流程......并从 Steam 获取 api 代码。

起初,我认为“哦,我可以使用我的 API 代码提取所有游戏数据!”

但是,有一个问题。

大部分 JSON QUERY 都需要我的 API 代码。

但他们只打印单个结果(尤其是关于某些 ID)

我想知道什么游戏最畅销或玩什么游戏..

喜欢蒸汽间谍:http://steamspy.com/

但 Steam API 仅提供用户统计信息等。

此时,我再次成为亮点。我是 Json 的新手。

所以.. 我想知道,“是否可以使用 Steam API 提取游戏的特定数据?”

不是单个用户的数据。

但是所有游戏的列表。

感谢您的阅读。

【问题讨论】:

    标签: json api steam steam-web-api steamworks-api


    【解决方案1】:

    我几乎没有做任何研究,但我知道您可以从 Steam 收集游戏名称以及 ID:s I 通过使用

    http://api.steampowered.com/ISteamApps/GetAppList/v0001/

    我相信你可以用不同的标准过滤一些东西。

    关于 Steamspy
    这可能无法回答完整的问题,但您为什么不直接使用 Steamspys:s API

    您可以收集玩得最多的游戏:

    http://steamspy.com/api.php

     ### genre ###
    
      Returns games in this particular genre. Requires *genre* parameter and works like this:
    
      * steamspy.com/api.php?request=genre&genre=Early+Access
    
      ### top100in2weeks ###
    
      Returns Top 100 games by players in the last two weeks.
    
      ### top100forever ###
    
      Returns Top 100 games by players since March 2009.
    
      ### top100owned ###
    
      Returns Top 100 games by owners.
    
      ### all ###
    
      Returns all games with owners data sorted by owners.
    

    希望对你有所帮助

    最好的问候 西西

    【讨论】:

      猜你喜欢
      • 2018-02-09
      • 2018-02-11
      • 1970-01-01
      • 2017-12-09
      • 2021-11-29
      • 1970-01-01
      • 1970-01-01
      • 2019-10-24
      • 2018-03-02
      相关资源
      最近更新 更多