Skip to content

Commit 8f65ea9

Browse files
authored
Merge pull request #53 from EodHistoricalData/bugfix
extra slashes
2 parents c76d585 + 84b182f commit 8f65ea9

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

eodhd/APIs/FundamentalDataAPI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class FundamentalDataAPI(BaseAPI):
44

55
def get_fundamentals_data(self, api_token: str, ticker: str):
66

7-
endpoint = 'fundamentals/'
7+
endpoint = 'fundamentals'
88

99
if ticker.strip() == "" or ticker is None:
1010
raise ValueError("Ticker is empty. You need to add ticker to args")

eodhd/APIs/HistoricalDividendsAPI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class HistoricalDividendsAPI(BaseAPI):
44

55
def get_historical_dividends_data(self, api_token: str, ticker: str, date_from: str = None, date_to: str = None):
66

7-
endpoint = 'div/'
7+
endpoint = 'div'
88

99
if ticker.strip() == "" or ticker is None:
1010
raise ValueError("Ticker is empty. You need to add ticker to args")

eodhd/APIs/HistoricalSplitsAPI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class HistoricalSplitsAPI(BaseAPI):
44

55
def get_historical_splits_data(self, api_token: str, ticker: str, date_from: str = None, date_to: str = None):
66

7-
endpoint = 'splits/'
7+
endpoint = 'splits'
88

99
if ticker.strip() == "" or ticker is None:
1010
raise ValueError("Ticker is empty. You need to add ticker to args")

eodhd/APIs/LiveStockPricesAPI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class LiveStockPricesAPI(BaseAPI):
44

55
def get_live_stock_prices(self, api_token: str, ticker: str, s:str):
66

7-
endpoint = 'real-time/'
7+
endpoint = 'real-time'
88
query_string = ''
99

1010
if ticker.strip() == "" or ticker is None:

eodhd/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99

1010
# Version of eodhd package
11-
__version__ = "1.0.30"
11+
__version__ = "1.0.31"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# This call to setup() does all the work
1717
setup(
1818
name="eodhd",
19-
version="1.0.30",
19+
version="1.0.31",
2020
description="Official EODHD API Python Library",
2121
long_description=long_description,
2222
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)