python-forex-quotes icon indicating copy to clipboard operation
python-forex-quotes copied to clipboard

Library to fetch and parse realtime Forex quotes and convert currencies

Results 3 python-forex-quotes issues
Sort by recently updated
recently updated
newest added

Please make changes, sometimes freezes. ``` def __init__(self, api_key, timeout = 10): ... self.timeout = timeout def fetch(self, uri): response = urlopen(self.base_uri + uri + '&api_key=' + self.api_key, timeout =...

``` import urllib.request, json class ForexDataClient: def __init__(self, api_key): self.api_key = api_key self.base_uri = 'http://forex.1forge.com/1.0.2/' def fetch(self, uri): response = urllib.request.urlopen(self.base_uri + uri + '&api_key=' + self.api_key) return json.load(response) def...