mirror of
https://github.com/donl/plivo-node.git
synced 2026-05-25 22:07:10 -06:00
10 lines
312 B
JavaScript
10 lines
312 B
JavaScript
var Plivo = require('../dist/rest/client.js');
|
|
var client = new Plivo.Client();
|
|
|
|
client.recordings.list()
|
|
.then(function(recordings) {
|
|
console.log("\n============ list ===========\n", recordings)
|
|
})
|
|
.catch(function(response) {
|
|
console.log("\n============ Error :: ===========\n", response);
|
|
});
|