1.0.0 • Published 6 years ago

bittrex-api-js v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

bittrex-js

Very simple Bittrex API wrapper for Node JS.

Created by GAFO TECH;

Information for the API can be found here

Installation

npm install bittrex-js

Usage

Usage of bittrex-js is very simple. There is only one method after initialization: req.

To make an API call, just call the req method with the endpoint and data object as parameters.

var Bittrex = require('bittrex-js');

(async () => {
  var b = new Bittrex('apiKey', 'apiSecret');

  var ticker = await b.req('/public/getticker', {market: 'BTC'});

})

Endpoints

Request parameters coming soon

Public API

  • /public/getmarkets
  • /public/getmarkets
  • /public/getcurrencies
  • /public/getticker
  • /public/getmarketsummaries
  • /public/getmarketsummary
  • /public/getorderbook
  • /public/getmarkethistory

Market API

  • /market/buylimit
  • /market/selllimit
  • /market/cancel
  • /market/getopenorders

Account API

  • /account/getbalances
  • /account/getbalance
  • /account/getdepositaddress
  • /account/withdraw
  • /account/getorder
  • /account/getorderhistory
  • /account/getwithdrawalhistory
  • /account/getdeposithistory