Download source code:https://github.com/Shiva-ly/api-dependent-file

NODE DEMO

install
    npm install

    node test.js help
Example
    const BITZ = require('./bitz');
    /**
     * @param apiKey        must
     * @param secretKey     must
     * @param tradePwd      must use for addEntrustSheet
     */
    var apiKey         = '';
    var secretKey     = '';
    var tradePwd     = '';
    BITZ.setConfig( apiKey, secretKey, tradePwd );

    // get balance
    BITZ.getUserAssets().then(function(data){
        console.log(data);
    }).catch(function(err){
        console.log(err);
    });

    // get tickerall data
    BITZ.tickerall().then(function(data){
        console.log(data);
    }).catch(function(err){
        console.log(err);
    });

results matching ""

    No results matching ""