Skip to content

Commit

Permalink
Merge pull request #204 from dpguthrie/fix/quote-summary-endpoint
Browse files Browse the repository at this point in the history
Fix quote summary endpoint
  • Loading branch information
dpguthrie authored Jul 15, 2023
2 parents eb33106 + 41a93b7 commit f048b03
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
Change Log
==========

2.3.2
-----
## Update
- Update quote summary endpoint from v10 to v6. The v10 endpoint currently requires a crumb as a query parameter, which is not something this library does not currently support.

2.3.1
-----
## FIx
- Fixes for history method

2.3.0
-----
## Added
- `dividend_history` method that returns historical dividends paid for a given symbol(s)

## Fixed
- `history` method has been refactored pretty heavily with the help of @maread99 (Thank you!). Timezone info is now included in the `date` column. Also, a dataframe will always be returned regardless of bad symbols existing. Previously, a dictionary was returned with the json response for the bad symbol(s) and dataframes for successful responses.

2.2.15
------
- Updated the data available from the cash flow statement
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

setup(
name="yahooquery",
version="2.3.1",
version="2.3.2",
author="Doug Guthrie",
author_email="douglas.p.guthrie@gmail.com",
description="Retrieve nearly all data from Yahoo Finance for one or more ticker symbols",
Expand Down
2 changes: 1 addition & 1 deletion yahooquery/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Python interface to unofficial Yahoo Finance API endpoints"""

name = "yahooquery"
__version__ = "2.3.1"
__version__ = "2.3.2"

from .research import Research # noqa
from .ticker import Ticker # noqa
Expand Down
2 changes: 1 addition & 1 deletion yahooquery/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ class _YahooFinance(object):
},
},
"quoteSummary": {
"path": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/{symbol}",
"path": "https://query2.finance.yahoo.com/v6/finance/quoteSummary/{symbol}",
"response_field": "quoteSummary",
"query": {
"formatted": {"required": False, "default": False},
Expand Down

0 comments on commit f048b03

Please sign in to comment.