2.0.1 • Published 6 years ago
cha-price v2.0.1
cha-price
Get price of chaucha
Installation
npm i -S cha-price
Use
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