Skip to content
This repository was archived by the owner on Nov 2, 2022. It is now read-only.

Repository files navigation

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");constapi=newNiceHash({apiKey: 'Your API Key',apiSecret: 'Your API Secret',orgID: 'Your Organization ID'});(async()=>{constaccount=awaitapi.getAccount('BTC');console.log(account.available);// 0.00012363})();

About

A wrapper for the NiceHash API

Topics

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages