Skip to content

Commit 92ef386

Browse files
author
Ravi kumar
authored
Merge pull request #35 from MicroPyramid/api_change
changed currency source to ratesapi.io
2 parents c506dcf + ecaac68 commit 92ef386

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Forex Python is a Free Foreign exchange rates and currency conversion.
2020
Features:
2121
---------
2222
- List all currency rates.
23-
- BitCoin price for all curuncies.
23+
- BitCoin price for all currencies.
2424
- Converting amount to BitCoins.
2525
- Get historical rates for any day since 1999.
2626
- Conversion rate for one currency(ex; USD to INR).
@@ -31,7 +31,7 @@ Features:
3131
Currency Source:
3232
-----------------
3333

34-
Fixer.io is a free API for current and historical foreign exchange rates published by European Central Bank.
34+
https://ratesapi.io/api/ is a free API for current and historical foreign exchange rates published by European Central Bank.
3535
The rates are updated daily 3PM CET.
3636

3737
BitCoin Price Source:

docs/source/currencysource.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
currency source
22
===============
33

4-
fixer.io
4+
https://ratesapi.io/api/
55
--------
6-
Fixer.io is a free API for current and historical foreign exchange rates published by European Central Bank. The rates are updated daily 3PM CET.
6+
https://ratesapi.io/api/ is a free API for current and historical foreign exchange rates published by European Central Bank. The rates are updated daily 3PM CET.
77

88
List of Supported Currency codes.
99
---------------------------------
10-
**Updated On 2016-05-22**
10+
**Updated On 2018-05-08**
1111

1212
|EUR - Euro Member Countries
1313
|IDR - Indonesia Rupiah

forex_python/converter.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class RatesNotAvailableError(Exception):
88
"""
9-
Custome Exception when http://fixer.io/ is Down are not available for currency rates
9+
Custome Exception when https://ratesapi.io/api/ is Down are not available for currency rates
1010
"""
1111
pass
1212

@@ -24,7 +24,7 @@ def __init__(self, force_decimal=False):
2424
self._force_decimal = force_decimal
2525

2626
def _source_url(self):
27-
return "http://api.fixer.io/"
27+
return "http://ratesapi.io/api/"
2828

2929
def _get_date_string(self, date_obj):
3030
if date_obj is None:

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os
33
from setuptools import setup, find_packages
44

5-
VERSION = '0.3.3'
5+
VERSION = '1.0.0'
66
long_description_text = """Forex Python is a Free Foreign exchange rates and currency conversion.
77
Features:
88
List all currency rates.

0 commit comments

Comments
 (0)