orionx-sdk

1.3.18 • Public • Published

Orionx

The official Orionx SDK for JavaScript


Circle CI Status Badge

Usage

First you need to install it via npm.

npm install orionx-sdk --save

Then you will need to get your credentials, follow this tutorial

After that we are ready to go

Code example

// App.js
import Orionx from 'orionx-sdk'

Orionx.setCredentials({
  apiKey: '<apiKey>',
  secretKey: '<secretKey>',
  apiUri: 'https://api2.orionx.com/graphql',
})

// And then use this in any Component.js
Orionx.market({code: 'LTCBTC'})
  .then(function (market) {
    console.log(market)
  })
  .catch(function (err) {
    console.log(err)
  })

Documentation & Examples

All documentation is over here

Readme

Keywords

Package Sidebar

Install

npm i orionx-sdk

Weekly Downloads

22

Version

1.3.18

License

MIT

Unpacked Size

77.7 kB

Total Files

70

Last publish

Collaborators

  • joadr
  • robertzibert