steampy icon indicating copy to clipboard operation
steampy copied to clipboard

get_my_market_listings() return empty values

Open ChekeredList71 opened this issue 2 years ago • 4 comments

Steps to reproduce:

  1. run this code from steampy.client import SteamClient steam_client = SteamClient('MY_API_KEY') steam_client.login('MY_USERNAME', 'MY_PASSWORD', 'PATH_TO_STEAMGUARD_FILE') print(steam_client.market.get_my_market_listings())
  2. check output: {'buy_orders': {}, 'sell_listings': {}}

OS: Windows 10

ChekeredList71 avatar Apr 21 '22 20:04 ChekeredList71

  • #198

woctezuma avatar Apr 21 '22 21:04 woctezuma

Yes, I have seen that, and I don't know what softwares language was changed. This is why I have created a new issue.

ChekeredList71 avatar Apr 22 '22 07:04 ChekeredList71

In my case, everything works fine. So I don't think the issue is with the function itself.

Maybe try setting the language of the Steam store to English.

woctezuma avatar Apr 22 '22 08:04 woctezuma

Even after changing the client's language, it still gives me an empty list. Maybe because of Steam market limitation I got after changing to Steam Desktop Authenticator?

ChekeredList71 avatar Apr 22 '22 20:04 ChekeredList71

solution A. Change ur primary language to english at this site: https://store.steampowered.com/account/languagepreferences/ solution B. If u want keep ur language settings,change the codes at steampy.utils,line 105,107 and 122. Example: old line 105: if "My sell listings" in node.text: new line 105: if "My sell listings" in node.text or "balabala" in node.text: "balabala" is "My sell listings" in ur language, u can get it from steam website.

EchoSixHIYA avatar Oct 07 '22 16:10 EchoSixHIYA