Jan. 7, 2015, 5:11 a.m.
(Last edited by Joto on Jan. 7, 2015, 6:17 a.m.)
That API has had A LOT of downtime lately. What are you using it for anyway? Isn't it possible to get all the item data from the inventory JSON?
Most item info only exists in the API. Inventory JSON is only used for items that is not "API-ed' (like Steam gifts and other Steam items).
Any chance you'd be able to cache the item data required for CS:GO key trades? I'm guessing most CS:GO-related trades are key trades over here. If you could cache whatever portion of data you need to process these, you may be able to eliminate the CS:GO API as a dependency on such trades. We've had massive downtime on this API lately, which is bad for business (both yours and mine). Moving away from the CS:GO API (for key trades at least) seems something worth aspiring for. If possible that is.
I said it wrong. I meant the TF2/Dota2/CS:GO items are 'schema-ed' (while Steam gifts and community items are not). This has nothing much to do with what we are discussing here though.
The Inventory JSON of CS:GO (which is accessed via Steam Web API) is always down, making trading CS:GO items impossible. There is no way to workaround it.
Isn't it possible to use http://steamcommunity.com/profiles/[steamid]/inventory/json/[appid]/[contextid]/ instead? The CS:GO inventory on my bot, for example, would be http://steamcommunity.com/profiles/76561198154994545/inventory/json/730/2/ - which pretty much always seems to work.
The link you use here is not the same as accessing an inventory through the Web API, although both more or less are used to obtain backpack information in JSON format. This inventory json is just the 'graphical inventory' you see on Steam provided in JSON. It does not contain the information needed for the bots to work. For steam gifts and some other games that do not have an API. The inventory json is used, and as a result poorer accuracy and more errors on Steam gifts because the information we can get is limited.
Valve provides an API to TF2/Dota2/CS:GO inventories with more information than you can normally see with the Steam's UI, with the 'defindex' being the most important attribute to match the one in the ItemSchema in order to identify items with exact accuracy. Despite the CS:GO Item API is rudimentary and probably still does not provide information like weapon skins, it is still essential for automated trading. For instant csgolounge.com probably is one of the website affected the most by the CS:GO API downtime (just my guess though, dunno if they actually use it). But to me "moving away from the API" is not possible, unless we only implement very limited support to CS:GO trading.