PHP code example of keven / jobijoba-client

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

    

keven / jobijoba-client example snippets




use Keven\JobiJoba\ApiClient;

$jobijoba = new ApiClient($clientId, $clientSecret);
$page = $jobijoba->search("chauffeur", "Amiens");
foreach ($page->jobs as $job) {
    echo $job->title;
    
    // Available properties:
    //    "id": "",
    //    "link": "",
    //    "title": "",
    //    "description": "",
    //    "publicationDate": "",
    //    "coordinates": "",
    //    "city": "",
    //    "postalCode": "",
    //    "department": "",
    //    "region": "",
    //    "sector": "",
    //    "jobtitle": "",
    //    "company": "",
    //    "contractType": [],
    //    "salary": ""
 }
shell
$ JOBIJOBA_CLIENT_ID=xxx JOBIJOBA_CLIENT_SECRET=xxx php -S localhost:8080 ./demo