Mercado Bitcoin API
This is a simple implementation of the www.mercado-bitcoin.com.ar JSON API written for nodejs.
Installation
Using npm
:
$ npm [-g] install mercado-bitcoin
In Node.js:
var mb = ;
Synopsis
var amount mercadoBitcoin method;mercadoBitcoin = ;amount = 01;method = 'convert_BTC_ARS_Last';mercadoBitcoin;
API
mercadoBitcoin.last(method, symbol, callback(err[, response]))
Gets the latest price.
mercadoBitcoin.average(method, callback(err[, response]))
Gets the latest average price.
mercadoBitcoin.convert(method, amount, callback(err[, response]))
Gets the last convert between Bitcoins and Currency.
More API info:
For all available methods please visit: http://www.mercado-bitcoin.com.ar/documentation