RestClient
and provide it with authentication credentials, which you can find on the Overview page of the Plivo console.
We recommend that you store your credentials in the PLIVO_AUTH_ID
and the PLIVO_AUTH_TOKEN
environment variables, to avoid the possibility of accidentally committing them to source control. If you do this, you can initialize the client with no arguments and it will automatically fetch them from the environment variables:
RestClient
.
resource
directly to update and delete it. For example:
$client->resources->list()
lists the first 20 resources by default (the first page, with limit
as 20, and offset
as 0). Use limit
and offset
to get more pages of resources.