mobile-connect-client
v0.1.1
Published
JavaScript library for interfacing with Mobile Connect demo database.
Downloads
9
Readme
mobile-connect-client
JavaScript library for interfacing with Mobile Connect database.
Usage
const MC = require('mobile-connect-client')
// create client object
const mc = new MC({
fqdn: 'ccedata.dcloud.cisco.com',
username: 'sa',
password: 'C1sco12345'
})
// connect to database
async function run () {
try {
await mc.connect()
} catch (e) {
throw e
}
// then list agents
const call = await mc.getCall('2142336226')
console.log(call)
return
}
run ()