Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 731 Bytes

README.md

File metadata and controls

56 lines (36 loc) · 731 Bytes

node-jubi

Node SDK for jubi

Install

npm i "git+https://github.com/SuperDBJ/node-jubi.git"

Quick Start

const Jubi = require('../index.js').Jubi;

const key = '';
const secret = '';

const jb = new Jubi({ key, secret });

async function balance() {
    console.log(await jb.balance());
}

async function tradeList() {
    console.log(await jb.tradeList('rss'));
}

async function allTicker() {
    console.log(await jb.allticker());
}

async function coins() {
    console.log(await jb.coins());
}

async function price() {
    console.log(await jb.getCurrentPrice('rss'));
}

coins();

price();

tradeList();

test

npm test

Notice: before run test, input your key && secret