Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

coingi

Coingi8.5kMIT1.0.7

coingi.com API client library for NodeJS

coingi, api, btc, bitcoin

readme

Node Coingi

NodeJS Client Library for the Coingi (coingi.com) API

This is an asynchronous node js client for the coingi.com API. It exposes all the API methods found here: https://coingi.docs.apiary.io through the api method:

Example Usage:

const key          = '...'; // API Key
const secret       = '...'; // API Private Key
const CoingiClient = require('coingi');
const coingi       = new CoingiClient(key, secret);

(async () => {
    // Display user's balance
    console.log(await coingi.api('balance', { currencies: "btc,usd" }));

    // Get Ticker Info
    console.log(await coingi.api('order-book', "/btc-usd/1/1/1" ));
})();

Credit: I used the kraken.js implementation as a reference.