我知道Steam API调用:http://api.steampowered.com/ISteamApps/GetAppList/v0002
这将返回Steam上的所有应用程序。但是我必须执行什么GET调用才能只返回指定类型的游戏呢?
发布于 2020-04-25 08:23:54
你就快到了。
您只需在API调用后附加查询参数即可。
如下所示:
http://api.steampowered.com/ISteamApps/GetAppList/v0002/?tag=RPG测试:http://api.steampowered.com/ISteamApps/GetAppList/v0002/?tag=RPG
或使用以下命令返回多个:
http://api.steampowered.com/ISteamApps/GetAppList/v0002/?tag=Casual&tag=Simulation测试:http://api.steampowered.com/ISteamApps/GetAppList/v0002/?tag=Casual&tag=Simulation
以下是流派标签的列表:https://partner.steamgames.com/doc/store/tags
参考文献:
https://stackoverflow.com/questions/61419374
复制相似问题