0.0.6 • Published 10 years ago

mcxnow v0.0.6

Weekly downloads
1
License
-
Repository
github
Last release
10 years ago

node-mcxcow

A node.js client for mcxNOW Altcoin exchange (https://mcxnow.com)

Installation

node-mcxnow is available as mcxnow on npm.

npm install mcxnow

Usage

var mcxnow = require('mcxnow'),
    mcxPrivate = new mcxnow("username", "password"),
    // No need to provide keys if you're only using the public api methods.
    mcxPublic = new mcxnow();

// Public API method call.
mcxPublic.getTicker("MAX", function(err, data) {
    if(err) throw err;

    console.log(data);
});

// Trade API method call.  
mcxPrivate.trade("MAX", amount, price, '0' /* 0=sell, 1=buy */, function(err, data) {
  if(err) throw err;

  console.log(data);
});

License

This module is ISC licensed.

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago