steampy
steampy copied to clipboard
Problem getting balance
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)
is the steamguard file called "path_to_steamguard.txt"?
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')