rxbf

0.2.2 • Public • Published

rxbf

Reactive bitFlyer Lightning Library

Install

yarn

yarn add rxbf

npm

npm i -S rxbf

How to use

HTTP Private API

import { HttpAuthClient } from 'rxbf';
const client = new HttpAuthClient(API_KEY, API_SECRET);
client.permissions().then((permissions) => console.log(permissions));

Realtime API

import { RealtimeAuthClient } from 'rxbf';
const client = new RealtimeAuthClient(API_KEY, API_SECRET);
client.childOrderEvents().subscribe((event) => console.log('Child order event:', event));
client.ticker('BTC_JPY').subscribe((ticker) => console.log('Ticker:', ticker));

Readme

Keywords

Package Sidebar

Install

npm i rxbf

Weekly Downloads

0

Version

0.2.2

License

MIT

Unpacked Size

54.5 kB

Total Files

17

Last publish

Collaborators

  • gkkachi