Enhanced_Steam icon indicating copy to clipboard operation
Enhanced_Steam copied to clipboard

Add 'Cost of completing badge' to 'Sort by' in badge page of your profile

Open ShockwaveNN opened this issue 11 years ago • 5 comments

In current version of 'Enhanced steam' you can view 'Cost of completing badge' in specific badge page. It will be very useful to have sorting option by 'Cost of completing badge' in 'http://steamcommunity.com/id/userid/badges/' page, to know which badge need lesser money to complete

ShockwaveNN avatar Jan 09 '14 10:01 ShockwaveNN

Might need to develop a better API on my site to answer that query, but it should be doable in one query. Just need a list of all the appids, then it would return the average price per card for each badge. From there, on clientside, you can check how many cards you're missing to complete a badge, and do the math from there and sort.

EhsanKia avatar Feb 02 '14 04:02 EhsanKia

@EhsanKia If you could provide such an API, I would be happy to implement it into Enhanced Steam.

jshackles avatar Feb 05 '14 17:02 jshackles

@jshackles Hmm, so I think the bandwidth usage is starting to get a bit too high for me. Do you think it'd be possible to switch to you guys grabbing the data off me and distributing it yourself on your host? Maybe in a big file like this: http://ehsankia.com/steam/stc_data_img.json

As for this new request, again, I can give the average price for all sets (appid+'f' for foil sets) like so: http://ehsankia.com/steam/average_price.json

They'd again update every hour, so if you could just snatch it every hour and chop it off/distribute it whichever way you see fit.

EhsanKia avatar Feb 10 '14 07:02 EhsanKia

@EhsanKia Sounds great! I've set up a script on my server to capture this data once every hour, and have rebuilt the API for the card prices / market links already.

I think this will work out best overall as once we have this data we can do what we need to with it without bugging you to make us a new API. Keep up the good work, and I'll get this particular request done soon!

jshackles avatar Feb 10 '14 20:02 jshackles

This would be great! Useful for completing cheapest badges first...

mediocaballero avatar Oct 08 '16 20:10 mediocaballero

So, Enhanced Steam is discontinued. There is now Augmented Steam. Perhaps your requested feature/bugfix is already implemented there! If not, you could move your issue there.

VanityFox avatar Aug 24 '19 01:08 VanityFox