From 144b1e08043982f720d5316af39c77faf2626501 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Sun, 26 Feb 2017 20:11:51 +0100 Subject: [PATCH] Add script to easily fetch new ato/ase pair --- gettoken.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 gettoken.py 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) +