View on GitHub

node-kiwicoin

Kiwi-Coin.com API client for Node.js

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:

// 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