Skip to content

More simplified Vonage API call

Compare
Choose a tag to compare
@shahariaazam shahariaazam released this 08 Aug 22:21
· 2 commits to master since this release
<?php
require "vendor/autoload.php";
require "config.php";

$vonage = new \Vonage\Vonage('vonageUsername', 'VonagePassword');
$params = array(
    'start' => date('Y-m-d\TH:i:sP')
);
var_dump($vonage->request('callhistory/{VonageExtensionNumber}', $params)); die();