swe/软花园API

SoftGarden招聘门户的API

v1.2.7 2024-09-26 09:12 UTC

This package is auto-updated.

Last update: 2024-09-26 09:13:06 UTC


README

Packagist Downloads Packagist Version License PHP Version

这是一个简化您与SoftGarden连接的API。类 \SWE\SoftGardenApi\Api\SoftGarden 包含一些获取和发布特定数据的方法。

方法

/**
 * @throws GuzzleException
 */
public function getCatalogByType(string $type, string $typeId): string;

/**
 * @throws GuzzleException
 */
public function getCatalogue(string $type): array;

/**
 * @throws GuzzleException
 */
public function getChannels(): ChannelCollection;

/**
 * @throws GuzzleException
 */
public function getJob(string $channelId, int $jobId): Job;

/**
 * @throws GuzzleException
 */
public function getJobBasket(string $channelId): JobSearchResult;

/**
 * @throws GuzzleException
 */
public function getJobQuestions(int $jobId): JobQuestionCollection;

/**
 * @throws GuzzleException
 */
public function getJobs(string $channelId): JobCollection;

/**
 * @return bool
 */
public function isUseAutomaticCatalogueCompletion(): bool;

/**
 * @param bool $useAutomaticCatalogueCompletion
 */
public function setUseAutomaticCatalogueCompletion(bool $useAutomaticCatalogueCompletion): void;

/**
 * @throws GuzzleException
 */
public function searchForJob(string $channelId, string $search = '', string $geoLocation = ''): JobSearchResult;

/**
 * @throws GuzzleException
 */
public function createApplicant(array $data): ApplicantData;

/**
 * @throws GuzzleException
 */
public function applicantExists(array $data): bool;

/**
 * @throws GuzzleException
 */
public function getUserAccessToken(ApplicantData $applicant): string;

/**
 * @throws GuzzleException
 */
public function hasApplied(string $jobId, string $uat): bool;

/**
 * @throws GuzzleException
 */
public function getAllApplications(string $uat, array $queryParameters = []): ApplicationDataCollection;

/**
 * @throws GuzzleException
 */
public function getApplication(string $applicationId, string $uat): ApplicationData;

/**
 * @throws GuzzleException
 */
public function startApplication(string $jobId, string $uat): string;

/**
 * @throws GuzzleException
 */
public function sendApplicationInformation(string $applicationId, string $uat, array $applicationData): void;

/**
 * @throws GuzzleException
 */
public function finalizeApplication(string $applicationId, string $uat, array $applicationData = []): void;

/**
 * @throws GuzzleException
 */
public function deleteApplication(string $applicationId, string $uat): void;

/**
 * @throws GuzzleException
 */
public function withdrawApplication(string $applicationId, string $uat): void;

返回值

申请者数据

申请数据

渠道

收集

职位

职位问题

职位搜索结果

搜索结果

搜索结果配置

杂项

此API使用语义化版本控制