Chris Hemmens
Chris Hemmens

Reputation: 397

Get Steam API bundle JSON

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

Answers (3)

472084
472084

Reputation: 17894

There is currently no way to get bundle info, without scraping the HTML. Only apps/packages.

Upvotes: 2

Shaojun
Shaojun

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

Related Questions