Last active
December 29, 2015 04:59
-
-
Save sergeyfarin/7618519 to your computer and use it in GitHub Desktop.
Get currency exchange rate in python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import urllib2 | |
json.loads(urllib2.urlopen("http://rate-exchange.appspot.com/currency?from=EUR&to=RUB").read())['rate'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment