kraken-node-api

1.0.2 • Public • Published

Kraken Api Nodejs Client

npm version

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' }));
})();

Readme

Keywords

Package Sidebar

Install

npm i kraken-node-api

Weekly Downloads

8

Version

1.0.2

License

MIT

Last publish

Collaborators

  • hasantayyar