[英]Get Steam API bundle JSON
Does anyone know a way of getting details of DLC and Bundles from steam? 有谁知道从蒸汽中获取DLC和捆绑包详细信息的方法吗?
I can easily get App details with the following URL: (Borderlands 2) http://store.steampowered.com/api/appdetails?appids=49520 我可以使用以下URL轻松获取应用程序详细信息:(Borderlands 2) http://store.steampowered.com/api/appdetails?appids=49520
This is the store page, notice the GET part of the URL is /app/{id}/ http://store.steampowered.com/app/49520/ 这是商店页面,请注意URL的GET部分是/ app / {id} / http://store.steampowered.com/app/49520/
Now I need to get the same sort of result from the API for a bundle. 现在,我需要从捆绑软件的API中获得相同的结果。
This is the store page, notice the GET part of the URL is /sub/{id}/ http://store.steampowered.com/sub/32848/ 这是商店页面,请注意URL的GET部分是/ sub / {id} / http://store.steampowered.com/sub/32848/
I tried http://store.steampowered.com/api/subdetails?subids=32848 and get Access Denied. 我尝试了http://store.steampowered.com/api/subdetails?subids=32848并获得“拒绝访问”。
Any suggestions? 有什么建议么?
You should use package instead of sub to get the information. 您应该使用package而不是sub来获取信息。
You can use below link to access the package info http://store.steampowered.com/api/packagedetails?packageids=32848 您可以使用下面的链接访问包装信息http://store.steampowered.com/api/packagedetails?packageids=32848
There is currently no way to get bundle info, without scraping the HTML. 当前,如果不抓取HTML,就无法获取包信息。 Only apps/packages.
仅应用程序/程序包。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.