ap

api-poloniex

Poloniex Api Js

Showing:

Popularity

Downloads/wk

60

Maintenance

No Maintenance Data Available

Package

Dependencies

3

Size (min+gzip)

191.0KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

api-poloniex

Descripcion

Contents

Install

npm install api-poloniex --save

Usage

Public api usage

const api = require('api-poloniex')();

api.public.returnTicker().then((ticker)=>{
    console.log(ticker.BTC_LTC);
}).catch((err)=>{
    console.log(err);
});

Push api usage

const api = require('api-poloniex')();

api.public.returnTicker().then((ticker)=>{
    console.log(ticker.BTC_LTC);
}).catch((err)=>{
    console.log(err);
});

Trading api usage

const apiKey = 'apiKey...........';
const secret = 'secret..................................';
const api = require('api-poloniex')(apiKey, secret);

api.trading.returnBalances().then((balances) => {
    console.log(balances.BTC);
})

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100