riconet / talentstorm-api-client
This package is abandoned and no longer maintained.
No replacement package was suggested.
A simple client for the api of talentstorm.
1.1.1
2020-01-13 16:36 UTC
Requires
- php: >= 5.6
- ext-json: *
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- kint-php/kint: ^3.2
- phpmd/phpmd: ^2.6
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^3.4
This package is auto-updated.
Last update: 2023-07-10 10:16:16 UTC
README
Talenstorm API client
Overview
A simple client for the api of talentstorm.
Requirements
- PHP >= 5.6
- ext-json installed
How to use
require_once __DIR__.'/vendor/autoload.php';
use \Riconet\TalenstormApiClient\Client;
use \Riconet\TalenstormApiClient\Request\ApiRequest;
// Create the client
$client = new Client(new ApiRequest(
"my-api-key"
));
// Fetch all jobs.
$jobs = $client->fetchJobs();
// Fetch paginated jobs.
$jobs = $client->fetchJobs([
"_page" => 2,
"itemPerPage" => 4,
]);
Supported endpoints
Title | endpoint | Method ref |
---|---|---|
Jobs | api/v1/joboffers/basic | \Riconet\TalenstormApiClient\Client::fetchJobs |
Single job | api/v1/joboffers/basic/job-id | \Riconet\TalenstormApiClient\Client::fetchJob |
Job types | api/v1/jobtypes | \Riconet\TalenstormApiClient\Client::fetchJobTypes |
Job portals | api/v1/jobportals | \Riconet\TalenstormApiClient\Client::fetchJobPortals |
Single job portal | api/v1/jobportals/portal-slug | \Riconet\TalenstormApiClient\Client::fetchJobPortal |
Application form | api/v1/applicationform-url | \Riconet\TalenstormApiClient\Client::fetchApplicationForm |