Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: GreekBitcoin on May 19, 2015, 05:19:39 AM



Title: Any simple osCommerce module with price auto update?
Post by: GreekBitcoin on May 19, 2015, 05:19:39 AM
I want something that you have tried and works.
I dont want it to have anything to do with daemon. i will just use a single address or if something like this exist multiple predefined addresses. The reason is that i know nothing about security.

Actually the only thing i need is auto updating the price of BTC. Right now i have BTC module and  i have to update the price manually.

Thanks.


Title: Re: Any simple osCommerce module with price auto update?
Post by: Muhammed Zakir on May 21, 2015, 10:29:13 AM
You can fetch BTC price from Blockchain.info JSON API. https://blockchain.info/api/exchange_rates_api.

You can then fetch needed data from JSON object you get. See http://stackoverflow.com/questions/15918861/how-to-get-data-from-json-object

Alternatively, if you just need a simple price ticker, you can use Bitsperdollar (http://bitsperdollar.com)