Skip to content

Commit 26368e1

Browse files
authored
Updated api endpoint (#45)
* updated currency endpoint * update api url from http to https * updated version number
1 parent 47686c9 commit 26368e1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ forex-python
1616

1717
Forex Python is a Free Foreign exchange rates and currency conversion.
1818

19-
**Note: Install latest forex-python==1.0.0 to avoid RatesNotAvailableError**
19+
**Note: Install latest forex-python==1.1 to avoid RatesNotAvailableError**
2020

2121
Features:
2222
---------

forex_python/converter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -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://ratesapi.io/api/"
27+
return "https://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 = '1.0.0'
5+
VERSION = '1.1'
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)