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 5e18f49f85
commit 85f74aea0f

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)