Bitso NodeJS Library
npm install bitso_nodejsjavascript
var bitso_nodejs = require('bitso_nodejs');
//call a method
bitso_nodejs.requestPrivate(endpoint, params, method, credentials)
.then(function(result){
//Do something with the result
console.log(result);
});
`
Ejemplo Crear una dirección de depósito para tu cuenta:
`javascript
bitso_nodejs.requestPrivate('/funding_destination',
{fund_currency:'btc'}, 'get',
{key:'xxxxxxx', secret:'xxxxxxxxxxxxxxxx'})
.then(function(result){
//Do something with the result
console.log(result);
});
``