bittrex-api-js

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i bittrex-api-js

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

4.7 kB

Total Files

5

Last publish

Collaborators

  • gafo