summaryrefslogtreecommitdiff
path: root/RatesWidget/ratesPopup.py
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2017-01-30 21:38:50 -0500
committerstreetturtle <streetturtle@gmail.com>2017-01-30 21:40:01 -0500
commitc4826fd21340d34e3592b0c8ca24fc068e52c6ef (patch)
treedbbc8fd3df693cfc57cbc1ff5246164f8fc41c01 /RatesWidget/ratesPopup.py
parenta079c79ab81a4bc2f7cf7971db6373fefe1e6110 (diff)
new widgets added
Diffstat (limited to 'RatesWidget/ratesPopup.py')
-rw-r--r--RatesWidget/ratesPopup.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/RatesWidget/ratesPopup.py b/RatesWidget/ratesPopup.py
deleted file mode 100644
index 4ac6cce..0000000
--- a/RatesWidget/ratesPopup.py
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/python
-
-import requests
-import json
-
-r = requests.get("http://api.fixer.io/latest?symbols=USD,EUR,JPY,GBP,CHF,CAD,RUB")
-resp = json.loads(r.content)
-rates = resp["rates"]
-
-for currency, rate in rates.items():
- print currency, rate