Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EconItems #131

Open
GeToNIX531 opened this issue Aug 13, 2022 · 3 comments
Open

EconItems #131

GeToNIX531 opened this issue Aug 13, 2022 · 3 comments

Comments

@GeToNIX531
Copy link

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?

@GeToNIX531
Copy link
Author

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?

@babelshift
Copy link
Owner

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

@viktordanchev
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants