Open dykstranet opened 8 years ago
New possible source for price API https://docs.coinkite.com/api/misc.html#exchange-rates
Another source for pricing information:
If IDR, let's get the price from bitcoin.co.id.
https://vip.bitcoin.co.id/api/btc_idr/ticker
Fall back to Bitcoin average (current implementation)
Then the Bitpay price api.
We definitely need redundant price sourcing data. This is the problem with current implementation.
That's only 100 requests every 24 hours. We fetch the price every minute so yeah that will be a problem if they leave the page open for a while.
This continues to be a problem. Need to create redundant price sources.
Bitcoin Average has throttled the requests again.
Redundant pricing data is needed.
This is deprecated and now redirects to coinbase
https://api.coinmarketcap.com/v2/ticker/1/ ; here's a good source for realtime BTC pricing data
https://api.coinmarketcap.com/v2/ticker/1/?convert=IDR for IDR....they have a list of all available currencies too here under the Ticker section: https://coinmarketcap.com/api/
Need to add a secondary and tertiary source for pricing data. If bitcoinaverage is down, get price from
https://bitpay.com/bitcoin-exchange-rates
or
http://www.coindesk.com/api/
If all three time out. Need to show error on the user interface web page.