zelloconsumer
v1.0.4
Published
Instantiate Zello Consumer Easily
Downloads
14
Readme
What is this?
Instantiate Zello Consumer Easily
Installation
npm i zelloconsumer --save
Then...
in your index.js file
const zelloconsumer = require('zelloconsumer')
zelloconsumer.call({
issuer: 'path/issuerKey.txt',
private: 'path/privateKey.json',
widget: true
}).then(port => console.log(`${port['port']}`))
.catch(error => console.log(`${error['error']}`))
Options
Zello Consumer require 2 options, both of which are mandatory:
issuer - you get it in https://developers.zello.com/
private - you get it in https://developers.zello.com/
after obtaining them, save them in two files issuer.txt and private.json and pass the file path in the function
Test
node index.js