binance-api-lightweight

1.0.2 • Public • Published

binance-api-lightweight

A light version of the binance-api focused on simplicity

Setup

npm i binance-api-lightweight

Getting started

  1. Retreive your Binance API key and secret following this guide

  2. Import the module and instantiate a new BinanceAPI class as follows:

    var client = new BinanceAPI("APIKEY", "SECRET");

Note: The API key is required for authentication, however, some functions still work without it as follows:

    var client = new BinanceAPI();

Supported functions

  • history
  • trades
  • kline
  • ticker
  • orderBooks
  • account
  • products
  • exchangeInfo
  • openOrders
  • myTrades
  • buyLimit
  • sellLimit
  • buyMarket
  • queryOrder
  • cancel

Found a bug?

Please submit the issue here

Pull requests are welcome :)

Package Sidebar

Install

npm i binance-api-lightweight

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

7.94 kB

Total Files

5

Last publish

Collaborators

  • myisaak