1.1.6 • Published 7 years ago

tradeogre-api v1.1.6

Weekly downloads
2
License
GPL-2.0
Repository
github
Last release
7 years ago

tradeogre-api

TradeOgre REST API wrapper module for Node.js

The code is self explanatory, for further details please refer to the TradeOgre API documentation. Check out examples.js for a list of all possible calls.

Installation

npm install tradeogre-api

Usage

// Sample public call
var TradeOgre = require('tradeogre-api');
var tradeOgre = new TradeOgre();

tradeOgre.getTicker('BTC-LTC', function(err, resp) {
  if (!err) {
    console.log(resp)
  } else {
    console.log(err)
  }
});

// Sample private call
var TradeOgre = require('tradeogre-api');
var tradeOgre = new TradeOgre( api_key, api_secret );

tradeOgre.getBalance('BTC', function(err, resp) {
  if (!err) {
    console.log(resp)
  } else {
    console.log(err)
  }
});

DISCLAIMER: This software is provided as is. The author takes no responsibility for any consequence which may derive from its proprer or improper usage.

1.1.6

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago