Skip to content

Commit

Permalink
Updated api endpoint (#45)
Browse files Browse the repository at this point in the history
* updated currency endpoint

* update api url from http to https

* updated version number
  • Loading branch information
nikhila05 authored Jun 20, 2018
1 parent 47686c9 commit 26368e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ forex-python

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

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

Features:
---------
Expand Down
2 changes: 1 addition & 1 deletion forex_python/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, force_decimal=False):
self._force_decimal = force_decimal

def _source_url(self):
return "http://ratesapi.io/api/"
return "https://ratesapi.io/api/"

def _get_date_string(self, date_obj):
if date_obj is None:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
from setuptools import setup, find_packages

VERSION = '1.0.0'
VERSION = '1.1'
long_description_text = """Forex Python is a Free Foreign exchange rates and currency conversion.
Features:
List all currency rates.
Expand Down

0 comments on commit 26368e1

Please sign in to comment.