CareerCast API v1.0 Release Announcement

2016-09-22

The latest job board now supporting version 2.0 of the Jobs Common project is the re-released Careercast API client, which just reached version 1.0 today.

This re-release offers most of the same functionality as the version 0 release, but defaults to JSON responses instead of XML. This allows for much richer data from the Careercast API.

Unfortunately, Careercast’s API is not official or documented, so the setters are limited, and it appears that pagination doesn’t work.

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

1. Install the package via Composer

composer require jobapis/jobs-careercast

2. Create a query object with all API parameters

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

3. Inject the query object and get jobs

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

This will return a Collection of Job objects.

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