diff --git a/gettoken.py b/gettoken.py new file mode 100755 index 0000000..ad37cd9 --- /dev/null +++ b/gettoken.py @@ -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) +