PHP code example of jobbrander / infoconnect-php-client

1. Go to this page and download the library: Download jobbrander/infoconnect-php-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/ */

    

jobbrander / infoconnect-php-client example snippets


$client = new new InfoconnectClient(['apiKey' => XXX]);

$id = '826381212';

$result = $client->getCompany($id);

var_dump($result);

$client = new new InfoconnectClient(['apiKey' => XXX]);

$parameters = [
    'companyname' => 'Google',
    'resourcetype' => 'Enhanced',
];

$results = $client->getSearchCompanies($parameters);

var_dump($results);

$client = new new InfoconnectClient(['apiKey' => XXX]);

$parameters = [
    'companyname' => 'Google',
    'resourcetype' => 'Enhanced',
];

$results = $client->postSearchCompanies($parameters);

var_dump($results);

$client = new new InfoconnectClient(['apiKey' => XXX]);

$parameters = [
    'companyname' => 'Google',
];

$results = $client->postCountCompanies($parameters);

var_dump($results);

composer