Skip to content

Conversation

@prsutherland
Copy link

Requests has attempted to consolidate json decoding errors in psf/requests#5856 which was released in requests==2.27.0. Since this project is requests>=2.31.0 we are safe to incorporate the change.

eodhd.com returns a text/html response for api.get_bonds_fundamentals_data if you are using a non-fundamentals api key.

Requests has attempted to consolidate json decoding errors in
psf/requests#5856 which was released in
requests==2.27.0. Since this project is requests>=2.31.0 we are safe
to incorporate the change.
prsutherland added a commit to prsutherland/EODHD-APIs-Python-Financial-Library that referenced this pull request Feb 4, 2025
Handle non-json http error responses and use requests.exceptions.JSONDecodeError instead of json.JSONDecodeError EodHistoricalData#57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant