kraken-node-api
v1.0.2
Published
kraken.com API client library for NodeJS
Downloads
35
Readme
Kraken Api Nodejs Client
ssss package is forked from https://github.com/nothingisdead/npm-kraken-api I'll keep the package updated.
Changes
- Build directory added.
- Node 6 support
Original Readme Content
NodeJS Client Library for the Kraken (kraken.com) API
This is an asynchronous node js client for the kraken.com API. It exposes all the API methods found here: https://www.kraken.com/help/api through the api
method:
Example Usage:
const key = '...'; // API Key
const secret = '...'; // API Private Key
const KrakenClient = require('kraken-node-api');
const kraken = new KrakenClient(key, secret);
(async () => {
// Display user's balance
console.log(await kraken.api('Balance'));
// Get Ticker Info
console.log(await kraken.api('Ticker', { pair : 'XXBTZUSD' }));
})();