Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antoinelemaire/taleez-php
Taleez API client built on top of Guzzle 6
https://github.com/antoinelemaire/taleez-php
Last synced: 21 days ago
JSON representation
Taleez API client built on top of Guzzle 6
- Host: GitHub
- URL: https://github.com/antoinelemaire/taleez-php
- Owner: AntoineLemaire
- License: mit
- Created: 2020-02-21T21:19:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-01T20:54:29.000Z (about 2 years ago)
- Last Synced: 2024-10-19T05:32:01.357Z (2 months ago)
- Language: PHP
- Homepage: https://api.taleez.com/
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Taleez-PHP
API documentation : https://api.taleez.com/swagger-ui.html
Last API version: 0.4.0## Installation
Requires PHP >= 7.1.
Using Composer:
The recommended way to install taleez-php is through [Composer](https://getcomposer.org):
First, install Composer:
```
$ curl -sS https://getcomposer.org/installer | php
```Next, install the latest taleez-php:
```
$ php composer.phar require antoinelemaire/taleez-php
```Finally, you can include the files in your PHP script:
```php
require "vendor/autoload.php";
```## Usage
```php
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();```