npm

Need private packages and team management tools?Check out npm Orgs. »

bitmex-swagger

0.0.7 • Public • Published

bitmex-swagger

NPM Package Dev Dependencies

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);
    });
 
});

install

npm i bitmex-swagger

Downloadsweekly downloads

5

version

0.0.7

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability