Shields: Steam workshop item stats to shield

Created on 26 Sep 2018  路  2Comments  路  Source: badges/shields

Any chance for getting Steam workshop item subscribers and other info on a shield? That info I believe can be freely retrieved so I assume it could be used for a shield

good first issue hacktoberfest service-badge

Most helpful comment

There is an API documented here!

The important calls are:

  1. GetCollectionDetails
  2. GetPublishedFileDetails

The rest all require API keys and are not useful in this case.

Example GetPublishedFileDetails

curl -i -X POST \
   -H "Content-Type:application/x-www-form-urlencoded" \
   -d "itemcount=1" \
   -d "publishedfileids[0]=1489377853" \
 'https://api.steampowered.com/ISteamRemoteStorage/GetPublishedFileDetails/v1/?format=json'

Example GetCollectionDetails

curl -i -X POST \
   -H "Content-Type:application/x-www-form-urlencoded" \
   -d "collectioncount=2" \
   -d "publishedfileids[0]=180077636" \
   -d "publishedfileids[1]=116572450" \
 'https://api.steampowered.com/ISteamRemoteStorage/GetCollectionDetails/v1/?format=json'

EDIT: I am going to take a shot at this.

All 2 comments

When you say "can be freely retrieved", is there an API that this can be fetched from. That will help is anyone is interested in contributing this

There is an API documented here!

The important calls are:

  1. GetCollectionDetails
  2. GetPublishedFileDetails

The rest all require API keys and are not useful in this case.

Example GetPublishedFileDetails

curl -i -X POST \
   -H "Content-Type:application/x-www-form-urlencoded" \
   -d "itemcount=1" \
   -d "publishedfileids[0]=1489377853" \
 'https://api.steampowered.com/ISteamRemoteStorage/GetPublishedFileDetails/v1/?format=json'

Example GetCollectionDetails

curl -i -X POST \
   -H "Content-Type:application/x-www-form-urlencoded" \
   -d "collectioncount=2" \
   -d "publishedfileids[0]=180077636" \
   -d "publishedfileids[1]=116572450" \
 'https://api.steampowered.com/ISteamRemoteStorage/GetCollectionDetails/v1/?format=json'

EDIT: I am going to take a shot at this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

techtonik picture techtonik  路  3Comments

rominf picture rominf  路  3Comments

paulmelnikow picture paulmelnikow  路  3Comments

stclairdaniel picture stclairdaniel  路  3Comments

najeeb-ur-rehman picture najeeb-ur-rehman  路  3Comments