3.1.2 • Published 7 years ago

cryptopia-client v3.1.2

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

cryptopia-client

The only methods that are currently finished and working are:

Private:

GetBalance

Public:

GetCurrencies

I have not tested sending params, so you should not expect anything to work if you send params..

Installation

$ npm install --save cryptopia-client

Usage

var CryptopiaClient = require("cryptopia-client");

(These keys can be created at https://www.cryptopia.co.nz/Security when you are logged into your cryptopia account...)

var keys = {
	api_key: "get your own damn api key",
	secret_key: "get your own damn secret key"
}

var client = new CryptopiaClient(keys);

client.GetBalance(callback);

function callback(error, data) {
	if(error) console.log("E!",error)

	console.log("Data: ", data);
}

or

client.GetCurrencies(callback);

function callback(error, data) {
	if(error) console.log("Error", error)

	console.log("Data: ", data);
}
3.1.2

7 years ago

3.1.1

7 years ago

3.1.0

7 years ago

3.0.0

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago