Jobs2Careers Job Board Api Client v.2 Released

2017-02-14

Jobs2Careers support has been on hold since last year’s release of Jobs Common v2. Thanks to some help from Samer Bechara we have gotten the package up and running again. It is now supported by Jobs Multi as well.

Get started using this API client by including the package in your project’s composer file:

1
composer require jobapis/jobs-jobs2careers

As with all Jobs Common providers, you first need to create a Query:

1
2
3
4
5
6
$query = new JobApis\Jobs\Client\Queries\J2cQuery([
'id' => YOUR_PUBLISHER_ID,
'pass' => YOUR_PUBLISHER_PASSWORD,
'q' => 'engineer',
'l' => 'Chicago, IL',
]);

And inject it into the J2cProvider:

1
2
$client = new JobApis\Jobs\Client\Providers\J2cProvider($query);
$jobs = $client->getJobs();

This will return a Collection of Job objects.

For more detailed usage and documentation, see this project’s readme, and as always, feel free to contact us if you’d like to get involved.