1.1.4 • Published 2 years ago

@developmentcubed/nicehash-api v1.1.4

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

nicehash-api

NPM

A wrapper for the NiceHash API.

You can view the documentation here.

Installation

npm install -S @developmentcubed/nicehash-api

Examples

Getting the info of an account

const { NiceHash } = require("@developmentcubed/nicehash-api");

const api = new NiceHash({
  apiKey: 'Your API Key',
  apiSecret: 'Your API Secret',
  orgID: 'Your Organization ID'
});

(async () => {
  const account = await api.getAccount('BTC');
  console.log(account.available); // 0.00012363
})();
1.1.1

2 years ago

1.1.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.0

3 years ago