bitcoin-prices
bitcoin-prices copied to clipboard
Support for altcoins
I know this isn't something you can easily implement because the https://bitcoinaverage.com/ API does not support altcoins like Litecoin. I would still like to have this feature though, so I'm reporting this here. There might be an additional API that supports conversion from BTC to LTC via javascript.
As bitcoinaverage.com is open source (hosted on Github) you can most likely retrofit their API to pull Altcoin data from cryptsy.com and such?
Sorry for the late response. If I did that, I'd have to host my version of bitcoinaverage on my own server, which I don't really want. I could send a pull request, but I doubt the point of bitcoinaverage is support of altcoins. I'm just wondering if it would make sense to have it in this plugin, if not, I'll (additionally to using bitcoin-prices) use a different plugin or make calls to a different API for altcoin support.
Ok. Where would you pull the info? Let's change the code a bit, it is easier to map other data format backends.
Also see the sister project I started recently (no release yet) https://github.com/miohtama/bitcoinaddress.js#demos
The cryptsy API would be an idea to pull it from. I'm using your plugin for https://github.com/omnidan/coffeedonate by the way, and it would be nice to have litecoin and/or quark there.
Here is nice setup for a LTC/BTC that you can integrate...
http://jsfiddle.net/P2t9R/236/