Skip to content
This repository was archived by the owner on Oct 26, 2025. It is now read-only.

Commit be1593b

Browse files
authored
Merge pull request #23 from Ac31415/resolve-date-filter
fixed date filter param names and added other things
2 parents 1cea97a + 837cdc7 commit be1593b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

public_invest_api/public.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ def _history_filter_date(date: str) -> dict:
273273
start_date = datetime(now.year - 1, 1, 1)
274274
end_date = datetime(now.year - 1, 12, 31)
275275
return {
276-
"startDate": start_date.strftime("%Y-%m-%d"),
277-
"endDate": end_date.strftime("%Y-%m-%d"),
276+
"dateFrom": start_date.strftime("%Y-%m-%d"),
277+
"dateTo": end_date.strftime("%Y-%m-%d"),
278278
}
279279

280280
@_login_required

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="public_invest_api",
5-
version="1.3.1",
5+
version="1.3.2",
66
description="Unofficial Public.com Invest API written in Python Requests",
77
long_description=open("README.md").read(),
88
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)