1. Go to this page and download the library: Download antoinelemaire/taleez-php 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/ */
antoinelemaire / taleez-php example snippets
use Taleez\TaleezClient;
$client = new TaleezClient(apiKey, apiSecret);
// List all jobs in your company
$client->candidates->add([
'firstName' => 'John',
'lastName' => 'Doe',
'mail' => '[email protected]',
'phone' => '0611223344',
'initialReferrer' => 'linkedin.com',
'lang' => 'fr',
'recruiterId' => 5489,
]);
// Update candidate properties values
$client->candidates->update(
12785,
[
[
'id' => 12785,
'value' => 'My new value',
'choices' => [
5487,
9873,
],
'starValues' => [
[
'id' => 46577,
'value' => 3,
],
],
'documentId' => 549672,
'appendChoices' => false,
],
]
);
// List all jobs in your company
$client->documents->add(1337, 'VGhpcyBpcyBteSByZXN1bWU=', true);
// List all jobs in your company
$client->jobs->list();
// Count all jobs and count jobs by filter values (with at least one job)
$client->jobs->count();
// List all pools in your company
$client->pools->list();
// List available candidate properties in your company
$client->properties->list();
// List all recruiters in your company
$client->recruiters->list();