1.0.0 • Published 4 years ago

kiwicoin v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

node-kiwicoin

Kiwi-Coin.com API client for Node.js.

Coverage Status Build Status

Installation

The package is available on NPM as kiwicoin.

npm install kiwicoin

Kiwi-Coin API

The API has 2 groups of services (or functions):

Usage

Using the private services from Kiwi-Coin API (they require authentication):

// Usage example for the Balance service:
// --------------------------------------

var Kiwicoin = require('kiwicoin');

var kiwiClient = new Kiwicoin("YourUserId", "YourApiKey", "YourSecret");

kiwiClient.balance(function(err, info) {
    console.log(err, info);
  });

If you just want to use the public services you don't need to provide the credentials (UserId, API Key and secret).

The public services are:

  • Ticker (ticker)
  • Order book (order_book)
// Usage example for the Ticker service:
// -------------------------------------

var Kiwicoin = require('kiwicoin');

var kiwiClient = new Kiwicoin();

kiwiClient.ticker(function(err, info) {
    console.log(err, info);
  });

License

MIT