Reputation: 397
Does anyone know a way of getting details of DLC and Bundles from steam?
I can easily get App details with the following 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/
Now I need to get the same sort of result from the API for a bundle.
This is the store page, notice the GET part of the URL is /sub/{id}/ http://store.steampowered.com/sub/32848/
I tried http://store.steampowered.com/api/subdetails?subids=32848 and get Access Denied.
Any suggestions?
Upvotes: 4
Views: 4156
Reputation: 11
For bundle pages like: https://store.steampowered.com/bundle/45867/Hogwarts_Legacy__Harry_Potter_Quidditch_Champions_Deluxe_Editions_Bundle/
You can use: https://store.steampowered.com/actions/ajaxresolvebundles?bundleids=45867&cc=UA&l=english
API endpoing details: https://github.com/Revadike/InternalSteamWebAPI/wiki/Resolve-Bundles
Upvotes: 0
Reputation: 17894
There is currently no way to get bundle info, without scraping the HTML. Only apps/packages.
Upvotes: 2
Reputation: 96
You should use package instead of sub to get the information.
You can use below link to access the package info http://store.steampowered.com/api/packagedetails?packageids=32848
Upvotes: 8