Skip to content

Instantly share code, notes, and snippets.

@dsuch
Last active December 18, 2015 11:29
Show Gist options
  • Save dsuch/5775933 to your computer and use it in GitHub Desktop.
Save dsuch/5775933 to your computer and use it in GitHub Desktop.
What should be needed to invoke any web services
request = {'from':'EUR', 'to':'HRK'}
response = get_exchange_rate(request)
print(response.rate)
# 1 EUR = 7.4680 HRK as of Jun 13, 2013, 5:00PM GMT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment