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

This package is auto-updated.

Last update: 2023-07-10 10:16:16 UTC


README

pipeline status

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

TitleendpointMethod ref
Jobsapi/v1/joboffers/basic\Riconet\TalenstormApiClient\Client::fetchJobs
Single jobapi/v1/joboffers/basic/job-id\Riconet\TalenstormApiClient\Client::fetchJob
Job typesapi/v1/jobtypes\Riconet\TalenstormApiClient\Client::fetchJobTypes
Job portalsapi/v1/jobportals\Riconet\TalenstormApiClient\Client::fetchJobPortals
Single job portalapi/v1/jobportals/portal-slug\Riconet\TalenstormApiClient\Client::fetchJobPortal
Application formapi/v1/applicationform-url\Riconet\TalenstormApiClient\Client::fetchApplicationForm