babelshift/SteamWebAPI2

EconItems

Opened this issue · 3 comments

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?

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?

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

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