Skip to content

discrepancy between python client and API doc #880

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
yuzuwoeser opened this issue May 31, 2025 · 1 comment
Open

discrepancy between python client and API doc #880

yuzuwoeser opened this issue May 31, 2025 · 1 comment
Assignees

Comments

@yuzuwoeser
Copy link

Hello,

I'm trying to use treasury yields api endpoint: https://polygon.io/docs/rest/economy/treasury-yields

According to the doc, the endpoint is: GET /fed/v1/treasury-yields

But in the python client, it's /fed/vX/treasury-yields

Reference:

url = "/fed/vX/treasury-yields"

Please let me know if this is a bug or if it needs to be fixed.

Thank you,

Yuzu

@justinpolygon
Copy link
Contributor

Hi @yuzuwoeser, just testing a patch and we'll publish a new release later today.

@justinpolygon justinpolygon self-assigned this May 31, 2025
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

No branches or pull requests

2 participants