swe/softgarden-api
Composer 安装命令:
composer require swe/softgarden-api
包简介
An API to the job portal SoftGarden
关键字:
README 文档
README
This is an API to simplify your connection to SoftGarden. The class \SWE\SoftGardenApi\Api\SoftGarden contains some
methods to get and post some specific data.
Methods
/** * @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;
Return values
ApplicantData
| Variable | Type | Default |
|---|---|---|
| id | string | '' |
| salutation | string | '' |
| firstname | string | '' |
| lastname | string | '' |
| string | '' | |
| workEmail | string | '' |
| username | string | '' |
| password | string | '' |
| locale | string | 'de' |
| internal | boolean | true |
| dataPrivacyAccepted | boolean | true |
ApplicationData
| Variable | Type | Default |
|---|---|---|
| applicationId | string | '' |
| status | string | '' |
| applicationEditable | boolean | false |
| createdOn | string | '' |
| lastChangedOn | string | '' |
| submittedOn | string | '' |
| withdrawnOn | string | '' |
| jobId | string | '' |
| jobName | string | '' |
| firstname | string | '' |
| lastname | string | '' |
| sex | string | '' |
| academictitle | string | '' |
| string | '' | |
| externalProfileUrl | string | '' |
| locale | string | 'de' |
| street | string | '' |
| zip | string | '' |
| city | string | '' |
| country | string | '' |
| nationality | string | '' |
| phone | string | '' |
| mobilePhone | string | '' |
| dateofbirth | string | '' |
| coverLetterText | string | '' |
| region | string | '' |
| imported | string | '' |
| applicationFeedbackConsent | boolean | false |
Channel
| Variable | Type | Default |
|---|---|---|
| id | string | '' |
| name | string | '' |
| accessible | boolean | false |
Collection
| Variable | Type | Default |
|---|---|---|
| items | array | [] |
Job
| Variable | Type | Default |
|---|---|---|
| jobDbId | integer | 0 |
| externalPostingName | string | '' |
| internalPostingName | string | '' |
| applyOnlineLink | string | '' |
| jobCategories | array | [] |
| audiences | array | [] |
| employmentTypes | array | [] |
| workTimes | array | [] |
| industries | array | [] |
| workExperiences | array | [] |
| geoLat | string | '' |
| geoLong | string | '' |
| geoName | string | '' |
| geoCountry | string | '' |
| geoState | string | '' |
| geoCity | string | '' |
| geoZip | string | '' |
| geoStreet | string | '' |
| jobAdText | string | '' |
| jobStartDate | integer | 0 |
| postingLastUpdatedDate | integer | 0 |
| jobOwnerSalutation | string | '' |
| jobOwnerTitle | string | '' |
| jobOwnerFirstname | string | '' |
| jobOwnerLastname | string | '' |
| jobOwnerStreet | string | '' |
| jobOwnerCity | string | '' |
| jobOwnerZip | string | '' |
| jobOwnerPhone | string | '' |
| jobOwnerEmail | string | '' |
| jobOwnerAvatarurl | string | '' |
| jobOwnerFunction | string | '' |
| jobAdUrl | string | '' |
| companyName | string | '' |
| companyId | string | '' |
| projectNumber | string | '' |
| internalReferenceId | string | '' |
| locale | string | '' |
| keywords | string | '' |
JobQuestion
| Variable | Type | Default |
|---|---|---|
| id | integer | 0 |
| question | string | '' |
| type | string | '' |
| answerCatalog | array/null | null |
JobSearchResult
| Variable | Type | Default |
|---|---|---|
| itemsPerPage | integer | 0 |
| numPages | integer | 0 |
| offset | integer | 0 |
| actualPage | integer | 0 |
| firstPostingOnPage | integer | 0 |
| lastPostingOnPage | integer | 0 |
| totalNumberOfJobs | integer | 0 |
| result | SearchResultCollection | 0 |
SearchResult
| Variable | Type | Default |
|---|---|---|
| jobPostingId | integer | 0 |
| postingVersionId | integer | 0 |
| title | string | '' |
| applyOnlineLink | string | '' |
| config | SearchResultConfig | null |
| jobStartDate | integer | 0 |
| postingVersionStartDate | integer | 0 |
| postingVersionEndDate | integer | 0 |
SearchResultConfig
| Variable | Type | Default |
|---|---|---|
| projectLocation | array | [] |
| projectNumber | array | [] |
| audience | array | [] |
| projectLocationGerman | array | [] |
| location | array | [] |
| company | array | [] |
| softgardenvisibility | array | [] |
| internalPostingName | array | [] |
| listingStartDate | array | [] |
| jobcategory | array | [] |
| projectCompanyNameGerman | array | [] |
Misc
This API uses Semantic Versioning
swe/softgarden-api 适用场景与选型建议
swe/softgarden-api 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.11k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2022 年 01 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api」 「softgarden」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 swe/softgarden-api 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 swe/softgarden-api 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 swe/softgarden-api 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
softgarden PHP SDK
A PSR-7 compatible library for making CRUD API endpoints
Displays jobs fetched from the API of softgarden, using only request with basic authorization.
A lightweight plain-PHP framework for database-backed CRUD APIs.
Modern, strongly-typed, PSR-compliant PHP client for the WeFact v2 API.
PHP SDK for the Enconvert file conversion API
统计信息
- 总下载量: 4.11k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-14