Steam api 端点“appdetails”参数

问题描述 投票:0回答:2

https://store.steampowered.com/api/appdetails?appids={APPID}

因此,steam 商店 api 有一个 endpint

api/appdetails
,它接受 appids 参数。问题是,我想接收有关多个应用程序的数据。从
appids
参数名称来看,它可以接受多个值。已经尝试过
appids=730,100
appids[0]=730&appids[1]=100
apppids=730&appids=100
,但都没有达到我想要的效果。

api rest steam
2个回答
2
投票

根据:https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI,像您第一次尝试一样将应用程序ID作为csv确实有效,您只需将filters参数设置为price_overview即可。当我尝试这个时,它确实有效,但我没有得到实际数据,所以我不确定它有多有用。


0
投票

嗨,如果您想咨询多个应用程序,您必须这样做,几个月前我遇到了同样的问题。希望这对您有帮助。最诚挚的问候:)

https://store.steampowered.com/api/appdetails?appids=720&appids=570

© www.soinside.com 2019 - 2024. All rights reserved.