bitmex-swagger
v0.0.7
Published
An unofficial node.js wrapper for the BitMEX Bitcoin derivatives exchange Swagger API
Downloads
3
Maintainers
Readme
bitmex-swagger
An unofficial node.js wrapper for the BitMEX Bitcoin derivatives exchange Swagger API
Official BitMEX website: https://www.bitmex.com
Getting Started
Installation:
npm install bitmex-swagger --save
Usage:
var Swagger = require('bitmex-swagger');
Swagger(function(swagger) {
swagger.Chat.Chat_get({count: 1, reverse: true}, function(response) {
var message = JSON.parse(response.data)[0];
console.log('Here is the most recent chat message:');
console.log(message.user + ': ' + message.message);
});
});