Skip to content
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

Add new API parameter "interval" for coin market-charts #12

Open
lufrey opened this issue Sep 3, 2021 · 0 comments
Open

Add new API parameter "interval" for coin market-charts #12

lufrey opened this issue Sep 3, 2021 · 0 comments

Comments

@lufrey
Copy link

lufrey commented Sep 3, 2021

I believe this is quite new, because the documentation is not fully complete yet, but you can add a query parameter "interval" to the endpoint /coins/{id}/market_chart. With that you can set the granularity of the historic data.
You can find it here: https://www.coingecko.com/en/api/documentation
The change required to support this feature is minimal. It would be great if it was supported.
I will submit a Pull Request to update the repository.

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

1 participant