{"repo":"plivo/plivo-node","free":true,"listed":false,"github":"https://github.com/plivo/plivo-node","clone":"git clone https://github.com/plivo/plivo-node.git","description":"A Node library for communicating with the Plivo API and generating Plivo XML.","language":"JavaScript","stars":102,"topics":["messaging","voice","plivo"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Plivo Node.js library The Node.js SDK simplifies the integration of communications into your Node.js applications through the Plivo REST API. You will be able to use the SDK to make voice calls, send SMS, and generate Plivo XML to manage your call flows. Installation Install the SDK using npm $ npm install plivo If you have the 0.4.1 version (a.k.a legacy) already installed, you may have to first uninstall it before installing the new version. For features in beta, use the beta branch: $ npm install plivo@beta Getting started Authentication To make the API requests, you need to create a Client and provide it with authentication credentials (which can be found at https://console.plivo.com/dashboard/). We recommend that you store your credentials in the PLIVO AUTH ID and the PLIVO AUTH TOKEN environment variables, so as to avoid the possibility of accidentally committing them to source control. If you do this, you can initialise the client with no arguments and it will automatically fetch them from the environment variables: Alternatively, you can specifiy the authentication credentials while initializing the Client . The basics The SDK uses consistent interfaces to create, retrieve, update, delete and list resources. The pattern followed is as follows: Also, using client.resources.list() would list the first 20 resources by default (which is the first page, with limit as 20, and offset as 0). To get more, you will have to use limit and offset to get the second page of resource","default_branch":null,"files":null,"tree":[],"storefront":"/r/plivo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/plivo/plivo-node/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}