twitools/gettoken.py
2017-02-26 20:11:51 +01:00

12 lines
181 B
Python
Executable file

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