Closed Nixinova closed 3 years ago
GetPrice
doesn't return the current value so there's nothing to test the "lowest" against.
(Also "price" should really be split into "currencystr
" and "pricenum
".)
fetch('https://steamdb.info/api/ExtensionGetPrice/?appid=730¤cy=NZD')
.then(d => d.json())
.then(r => console.log(r))
// {"success":true,"data":{"lowest":{"price":"NZ$ 8.99","discount":50,"date":"15 February 2018 (8 times, first on 11 June 2015)"}}}
GetPrice doesn't return the current value so there's nothing to test the "lowest" against.
Should I open an issue at https://github.com/SteamDatabase/SteamDatabase to request adding more output data to https://steamdb.info/api/ExtensionGetPrice/
?
That endpoint will no longer return data if game is currently free on the store.
See CSGO for example. The game is now free yet SteamDB states the lowest price is $9. The box should either disappear or state that the lowest price is $0.