Add script to easily fetch new ato/ase pair

This commit is contained in:
Klaus-Uwe Mitterer 2017-02-26 20:11:51 +01:00
parent ece96ca690
commit 144b1e0804

12
gettoken.py Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
import twitools
try:
ato, ase = twitools.twoHelper().authenticate()
except:
print("Authentication failed.")
print("ato=%s" % ato)
print("ase=%s" % ase)