tradeblock-node
v0.9.5
Published
TradeBlock NodeJS SDK.
Downloads
9
Maintainers
Readme
This SDK allows you to work with TradeBlock API
Node.JS SDK
Installation
Installing using npm (node package manager):
npm install tradeblock-node
Dependencies
Required Dependencies:
Dev Dependencies (for running tests):
Initialisation
var tradeblock = require('tradeblock-node');
var tradeAPI = tradeblock.init({
API_KEY: '<your AUTH KEY>',
API_SECRET: '<your AUTH SECRET>'
});
Usage
const response = await tradeAPI.listTrades()
Tests
To run tests:
npm test
or
mocha --reporter spec
License
tradeblock-node is licensed under the MIT License.