PHP code example of wpeereboom / php-telzio
1. Go to this page and download the library: Download wpeereboom/php-telzio library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wpeereboom / php-telzio example snippets
$telzioClient = new TelzioClient($username, $password);
// To get the live calls
$liveCalls = $telzioClient->getLiveCalls();
// To get the first 20 records of the call log
$logResult = $telzioClient->getLog();
// To get the details of a specific call
$call = $telzioClient->getCallDetails('sd35wegwe-b32we3-23b1c-4583e-ec1338asdc45e'); // CallUUID
// To get the account details, currently only balance information
$account = $telzioClient->getAccount();
bash
$ php composer.phar