SteamWebAPI2 icon indicating copy to clipboard operation
SteamWebAPI2 copied to clipboard

EconItems

Open GeToNIX531 opened this issue 3 years ago • 3 comments

Hi guys, help me plz. How get user inventory. I tried to use: var steamEconomyInterface = webInterfaceFactory.CreateSteamWebInterface<EconItems>(new HttpClient()); But when called, a constructor error occurs. Of course, I was doing something wrong. How can I use the interface EconItems, for get user inventory? And how to work with the trading platform?

GeToNIX531 avatar Aug 13 '22 17:08 GeToNIX531

var steamEconomyInterface = webInterfaceFactory.CreateSteamWebInterface<EconItems>(AppId.CounterStrikeGO, new HttpClient()); var inventory = await steamEconomyInterface.GetPlayerItemsAsync(account.Session.SteamID);

Error 410 (Gone). which means the page has been deleted. mb is bug?

GeToNIX531 avatar Aug 13 '22 18:08 GeToNIX531

Hi guys, help me plz. How get user inventory. I tried to use: var steamEconomyInterface = webInterfaceFactory.CreateSteamWebInterface(new HttpClient()); But when called, a constructor error occurs. Of course, I was doing something wrong. How can I use the interface EconItems, for get user inventory? And how to work with the trading platform?

If you're still out there, I'll need more information about the nature of the error. Please provide more details.

var steamEconomyInterface = webInterfaceFactory.CreateSteamWebInterface(AppId.CounterStrikeGO, new HttpClient()); var inventory = await steamEconomyInterface.GetPlayerItemsAsync(account.Session.SteamID);

Error 410 (Gone). which means the page has been deleted. mb is bug?

While Valve does sometimes remove endpoints on their API without warning, I am not able to reproduce this issue. That method binds to the following endpoint, which appears to still be active.

https://api.steampowered.com/IEconItems_730/GetPlayerItems/v1

babelshift avatar Apr 12 '23 12:04 babelshift

This method is removed by Valve. Its not working anymore.

viktordanchev avatar Mar 20 '24 09:03 viktordanchev