@opiumteam/oex-js
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @opiumteam/oex-js

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

130 kB

Total Files

33

Last publish

Collaborators

  • timur_nss
  • rbiosas
  • alirun
  • metasign