ilyvion / barter-vg-enhancer

GNU General Public License v3.0
3 stars 1 forks source link

Some games detected as free that aren't #1

Open r6d2 opened 7 years ago

r6d2 commented 7 years ago

When a game is not available on the user's store it's displayed as "Free" by the extension. Example: https://steamdb.info/app/200010/ is not available in my country and I get this: https://gyazo.com/dec530e53128680a2f27b08f78e3a0ea Thanks anyway for your good work!

ilyvion commented 7 years ago

Hm. I wonder if free and not available differ in the API response? I just tested with the game you mention using Switzerland as my country code, and the price data is entirely missing from the response. Now to test with a free game...

Okay, here's the problem. The API has the same response for a game that's free and a game that isn't available/doesn't have a price in the given region.

The best I can do is change that message to "Free/Unavailable." While more informative, it won't really help with calculations and such.