CoinCapDev / CoinCap.io

API tools and documentation
730 stars 151 forks source link

Is it possible to set the base currency? #81

Closed citruslab closed 6 years ago

citruslab commented 6 years ago

Can I send a parameter to get the values in BTC, EUR, etc..?

CamilleScholtz commented 6 years ago

This would be really nice yes :)

wislon commented 6 years ago

That would help me a lot, too. I live in Australia, and have to do trades in AUD.

alikhan-codersranch commented 6 years ago

Can someone tell me how I convert the bitcoin etc data into some other currencies like EUR, AUD using coincap api. Is there any endpoint to achieve this. Thanks

CamilleScholtz commented 6 years ago

There isn't. I'd suggest you use CryptoCompare, it seems to have a better API and supports multiple currencies.

alikhan-codersranch commented 6 years ago

Thanks a lot for the quick response. Really appreciated. I'm actually building crypto Android app in which I'm getting the other data via cryptomarket "https://coinmarketcap.com/" API as I see this API easily understandable for me rather than the CryptoCompare but they do not provide historical data that's why I implemented coin cap API for just the historical data whereas the other data via "https://coinmarketcap.com/". But as you told me that it's not supporting multiple currencies and I have gone far with this API means implemented it in my app and working fine so I'll convert the coming data from USD to my currency with single line formula. Now if you don't mind the question is: Is it OK to use coin cap just for historical data? I'm ok with USD as if I'll convert that myself. I'll migrate from coin cap to CryptoCompare in the future. Once again thanks a lot for your response. :)

On Mon, Jan 8, 2018 at 5:25 PM, Camille notifications@github.com wrote:

There isn't. I'd suggest you use CryptoCompare, it seems to have a better api and supports mutliple currencies.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CoinCapDev/CoinCap.io/issues/81#issuecomment-355953280, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae2xEZrW73iOHRdIi844CbYk4A2akIEPks5tIgkkgaJpZM4RLhOi .

iamskippy0 commented 6 years ago

@citruslab Our API V2 will allow some extremely cool features related to this, very soon TM 👼