mirror of
https://github.com/donl/plivo-node.git
synced 2026-05-25 22:07:10 -06:00
10 lines
302 B
JavaScript
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);
|
|
});
|