@opiumteam/oex-js
v1.2.0
Published
OEX JS SDK
Downloads
6
Readme
OEX JS SDK
This npm module implements the HTTP and Socket.io API of https://trade.opium.exchange/
Documentation
API Reference - https://opiumprotocol.github.io/oex-js/
Installation
npm i @opiumteam/oex-js
Examples
Get products list
import { Api } from '@opiumteam/oex-js'
const api = new Api()
api
.tickersGetAll({type: 'swap'})
.then(tickers => console.log(tickers))
Development
Clone project and install dev dependencies
npm i
Run TS build, linter and docs
npm run build
npm run lint
npm run docs
Submit pull requests