cointop-sh / cointop

A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀
https://cointop.sh
Apache License 2.0
3.94k stars 309 forks source link

(Request) Could it be possible to fetch categories data from coingecko API and display it on cointop? #295

Open wokawoka opened 2 years ago

wokawoka commented 2 years ago

See for example https://www.coingecko.com/en/categories . Could it be possible to have cointop to fetch and display this useful data?

Thank you very much for developing this great project

lyricnz commented 2 years ago

We currently use the following API call to retrieve market data which does not appear to include any category information.

https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=100&page=1&sparkline=false

See https://www.coingecko.com/en/api/documentation

wokawoka commented 2 years ago

Alright, hopefully they will implement that in the API in the future. Tthank you for your reply.

lyricnz commented 2 years ago

No need to close it just because it's not trivial. Maybe you can look through the API docs, and see how we might retrieve and use this information? How it would be displayed etc? The more prep-work you can do, the easier it will be for a developer to implement.

wokawoka commented 2 years ago

Sorry for my late reply, I missed the notification about your message. I'll try to take a look at coingecko APIs as soon as I'll have some spare time and in case I'll report back. Thank you guys for the great work you are doing

emremuq commented 1 year ago

do I have a chance to put the api data of any token in a file and watch it, thank you, I wish you continued success vs https://github.com/flo7up/relataly-public-python-API-tutorials/blob/main/126%20Getting%20Real-Time%20Price%20Data%20via%20the%20Gate.io%20API.ipynb