steampy icon indicating copy to clipboard operation
steampy copied to clipboard

Problem getting balance

Open Mipostar opened this issue 1 year ago • 2 comments

When I try to get my balance I get an error: "Unable to get wallet balance string match"

from steampy.client import SteamClient
from steampy.utils import GameOptions

steam_client = SteamClient('API')
steam_client.login('login', 'password', 'path_to_steamguard.txt')
game = GameOptions.CS
wallet = steam_client.get_wallet_balance()
print(wallet)

Mipostar avatar Jan 30 '24 21:01 Mipostar

is the steamguard file called "path_to_steamguard.txt"?

Aarab228 avatar Feb 01 '24 05:02 Aarab228

You must specify the path to the file steam_guard.json. If the file is in the project folder, then use: steam_client.login('login', 'password', 'steam_guard.json')

Suxoran avatar Feb 14 '24 11:02 Suxoran