You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from steampy.client import SteamClient
from steampy.models import GameOptions
steam_client = SteamClient('XXX')
steam_client.login('XXX', 'XXX', 'guard.json')
game = GameOptions.CS
my_items = steam_client.get_my_inventory(game)
Error:
File "C:\Users\vedomolihoy\PycharmProjects\steamTrade\steam.py", line 8, in
my_items = steam_client.get_my_inventory(game)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vedomolihoy\PycharmProjects\steamTrade\venv\Lib\site-packages\steampy\utils.py", line 23, in func_wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vedomolihoy\PycharmProjects\steamTrade\venv\Lib\site-packages\steampy\client.py", line 157, in get_my_inventory
return self.get_partner_inventory(steam_id, game, merge, count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vedomolihoy\PycharmProjects\steamTrade\venv\Lib\site-packages\steampy\utils.py", line 23, in func_wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vedomolihoy\PycharmProjects\steamTrade\venv\Lib\site-packages\steampy\client.py", line 168, in get_partner_inventory
raise ApiException('Success value should be 1.')
steampy.exceptions.ApiException: Success value should be 1.
.login() method works correctly, the login data is correctly too.
.is_session_alive() returns False, but as I understand it, that method is no longer relevant
The text was updated successfully, but these errors were encountered:
Code:
Error:
File "C:\Users\vedomolihoy\PycharmProjects\steamTrade\steam.py", line 8, in
my_items = steam_client.get_my_inventory(game)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vedomolihoy\PycharmProjects\steamTrade\venv\Lib\site-packages\steampy\utils.py", line 23, in func_wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vedomolihoy\PycharmProjects\steamTrade\venv\Lib\site-packages\steampy\client.py", line 157, in get_my_inventory
return self.get_partner_inventory(steam_id, game, merge, count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vedomolihoy\PycharmProjects\steamTrade\venv\Lib\site-packages\steampy\utils.py", line 23, in func_wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vedomolihoy\PycharmProjects\steamTrade\venv\Lib\site-packages\steampy\client.py", line 168, in get_partner_inventory
raise ApiException('Success value should be 1.')
steampy.exceptions.ApiException: Success value should be 1.
.login() method works correctly, the login data is correctly too.
.is_session_alive() returns False, but as I understand it, that method is no longer relevant
The text was updated successfully, but these errors were encountered: