keven/jobijoba-client

Simple API client for JobiJoba API

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/keven/jobijoba-client

1.0.1 2024-10-07 20:03 UTC

This package is auto-updated.

Last update: 2025-10-10 23:10:20 UTC


README

Installation

$ composer install keven/jobijoba-client

You can view the client working locally by running the following command line with your own API credentials from the root of the package:

$ JOBIJOBA_CLIENT_ID=xxx JOBIJOBA_CLIENT_SECRET=xxx php -S localhost:8080 ./demo

Then go to http://localhost:8080 in your browser.

Usage

<?php

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": ""
 }

That's it.