EvanRespaut / Equate

Unit converting calculator
GNU General Public License v3.0
67 stars 17 forks source link

Request: Add decred (DCR) to cryptocurrencies #30

Open ghost opened 6 years ago

ghost commented 6 years ago

Can you please add decred (symbol: DCR) to the cryptocurrencies. This blockchain has been around a long time (years) and is currently #41 on CMC.

Thanks

EvanRespaut commented 6 years ago

Currently I have the top 30 cryptos hardcoded, it was just easier to do at the time. But it's a problem if the top 30 changes over time or if someone wants one lower on the list. What I'd like is for that 30 number to be user selectable (so you could have top 50 instead) and add a refresh list option. I'll look into this for next release.

ghost commented 6 years ago

To grab the top 1000 in one go:

https://api.coinmarketcap.com/v1/ticker/?limit=1000

Thanks