Closed ghost closed 11 years ago
Enhanced Steam uses the Steam API to determine if a game is owned. Valve returns "is_owned: true" for all Free-To-Play games.
For example, the recently released "March of War" calls this API:
http://store.steampowered.com/api/appuserdetails/?appids=234310
Which indicates that the game is owned, but does not indicate that it is free-to-play.
I'm not a coder, but I think that this should be possible, albeit a bit complicated. While Steam defenitely says you own the Free to Play game, you can also add an another filter on top of that checking whether the game is free to play (by checking it's price)
http://store.steampowered.com/api/appdetails/?appids=234310
Result data price_overview (Optional) Omitted if free-to-play.
font: http://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI
test if exists "price_overview". if not = free
i want new tag "free" :)
vmwinckler - what you're suggesting will actually work and has been possible for quite some time. However, when evaluating if a user owns an app, Enhanced Steam is currently calling the appuserdetails API. Having an additional call to the appdetails API to determine if the game is Free-to-play would essentially double the processing time required for this process.
I may have to do it this way, and have it set as a option that is disabled by default.
good! user's choice :) Add this option and add one great alert over possible delay :)
...or maybe you can catch this info from your partner ? Example: http://isthereanydeal.com/#/page:game/info?plain=warthunder
Option to remove Free-To-Play Games from being highlighted as currently being owned. Thanks