Skip to content

lgaticaq/cha-price

Repository files navigation

cha-price

npm version npm downloads Build Status Coverage Status Maintainability devDependency Status

Get price of chaucha

Installation

npm i -S cha-price

Use

Try on RunKit

const cha = require('cha-price');

// Get from https://orionx.io/developers
const apiKey = 'your-api-key'
const secretKey = 'your-secret-key'

cha(apiKey, secretKey)
  .then(console.log)
  .catch(console.error);

Result:

XXXXX // a number

Licencia

MIT