PHP code example of itrn0 / php-iqtek-dialer-api-client

1. Go to this page and download the library: Download itrn0/php-iqtek-dialer-api-client 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/ */

    

itrn0 / php-iqtek-dialer-api-client example snippets


use Itrn0\Iqtek\Dialer\Api\Client;

$client = new Client([
  'api_key' => 'API_KEY',
]);
// or 
$client = new Client([]);
$client->login('USERNAME', 'PASSWORD');

$lead = $client->getLead('ID');