Initial login not working
I am relatively new to python, and I'm just attempting to set this up. I see talk of the 'Steamguard.txt' file, which I believe is my problem, and I'm just putting it in with all of the other code files, is this right or where should i put it. I've got my secrets and ID. I try to run the test_client.py file, and it skips all of the cases, with "Requires secrets/Steamguard.txt" as the reason.
Also, when trying to run a different test of my own, this code:
with SteamClient('APIKEY', 'USERNAME', 'PSWD', 'PATH') as client:
client.is_session_alive()
Results in this error:
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Which I just don't understand.
Any insight would be appreciated
steamguard.txt should look like this:
{
"identity_secret": "KEY",
"shared_secret": "KEY",
"steamid": "KEY"
}
It should also be in the same directory as the script. After that, if the variable "PATH" = "Steamguard.txt" will work (or use a direct reference to "Steamguard.txt" without replacing it with the variable