From f6eb26e07ba28481bb043fa01c5fc0257df89c67 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 20 Dec 2015 18:41:28 +0100 Subject: [PATCH] /hs coming soon --- .gitignore | 1 + hearthstone.py | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 hearthstone.py diff --git a/.gitignore b/.gitignore index 0990e781..d9534c1e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ lastid.txt osuapi.txt steamapi.txt telegramapi.txt +hearthstoneapi.txt *.pyc \ No newline at end of file diff --git a/hearthstone.py b/hearthstone.py new file mode 100644 index 00000000..969bedc5 --- /dev/null +++ b/hearthstone.py @@ -0,0 +1,6 @@ +import filemanager +import requests + +# Per far funzionare questa libreria serve un file "hearthstoneapi.txt" con l'API key ricevuta da mashape.com +apikey = filemanager.readfile('hearthstoneapi.txt') +