plivo-node/examples/pricings.js
2017-10-24 23:00:08 +05:30

10 lines
302 B
JavaScript

var Plivo = require('../dist/rest/client.js');
var client = new Plivo.Client();
client.pricings.get('US')
.then(function(price) {
console.log("\n============ get ===========\n", price)
})
.catch(function(response) {
console.log("\n============ Error :: ===========\n", response);
});