Answer the question
In order to leave comments, you need to log in
How to get the Steam Guard code (Shared_secret available)?
How to get the Steam Guard code (Shared_secret available)?
I tried to use steam totp python, but something doesn’t work with it (I wrote it in 2016, on the 2nd python, I use the 3rd one)
Answer the question
In order to leave comments, you need to log in
I also searched for a long time, as a result it turned out with the steampy library.
Here is the code:
from steampy.guard import generate_one_time_code
def getcode(share):
shared_secret = share
one_time_authentication_code = generate_one_time_code(shared_secret)
return one_time_authentication_code
getcode('Shared_secret key')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question