cointop-sh / cointop

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

Sync portfolio from API provider (coingecko, coinmarketcap) #277

Open lyricnz opened 3 years ago

lyricnz commented 3 years ago

Each of these API providers also have the ability to manage portfolios. It would be useful if cointop could sync from (and maybe even TO) these?

Coingecko doesn't currently have an API for this. https://www.coingecko.com/en/api/documentation The website uses https://www.coingecko.com/en/portfolios/NNNNN/overview?vs_currency=usd Where NNNNN is probably some customer-unique value.

Coinmarketcap API at https://coinmarketcap.com/api/documentation/v1/ doesn't include this, but the website uses: https://api.coinmarketcap.com/asset/v3/portfolio/group/queryAll https://api.coinmarketcap.com/asset/v3/portfolio/query

lyricnz commented 3 years ago

https://github.com/miguelmota/go-coinmarketcap/issues/7