Ziprecruiter Job Search Client v1.0 Release

2016-10-09

Tonight we released a new version of our PHP Ziprecruiter API provider supporting version 2.0 of the Jobs Common project.

This release now uses the two-object pattern (Query and Provider) that all v2 providers use, and it allows for queries using all supported Ziprecruiter URL parameters.

The basic usage is the same as most of our other providers:

1. Install the package via Composer

composer require jobapis/jobs-ziprecruiter

2. Create a query object with all API parameters

1
2
3
4
$query = new JobApis\Jobs\Client\Queries\ZiprecruiterQuery([
'search' => 'engineering',
'location' => 'Chicago, IL',
]);

3. Inject the query object and get jobs

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

This will return a Collection of Job objects.

For more detailed usage and documentation, see this project’s readme