jobbrander/jobs-simplyhired
最新稳定版本:0.4.0
Composer 安装命令:
composer require jobbrander/jobs-simplyhired
包简介
Making it simple to integrate your application with SimplyHired Jobs API.
README 文档
README
This package provides Simplyhired Jobs API support for the JobBrander's Jobs Client.
Installation
To install, use composer:
composer require jobbrander/jobs-simplyhired
Usage
Usage is the same as Job Branders's Jobs Client, using \JobBrander\Jobs\Client\Provider\Simplyhired as the provider.
$client = new JobBrander\Jobs\Client\Provider\Simplyhired([ 'auth' => 'YOUR SIMPLYHIRED AUTHORIZATION KEY' 'pshid' => 'YOUR SIMPLYHIRED PUBLISHER ID', 'clip' => 'YOUR IP ADDRESS', ]); // Search for 200 job listings for 'project manager' in Chicago, IL $jobs = $client // SimplyHired API path Setters ->setQ() // Query ->setL() // Location ->setMi() // Miles (optional) ->setSb() // Sort by (optional) ->setWs() // Window Size (optional) ->setPn() // Page Number (optional) ->setSi() // Start index (optional) ->setFdb() // Date Posted (optional) ->setFjt() // Job type (optional) ->setFsr() // Job source (optional) ->setFem() // Employer (optional) ->setFrl() // Special filters (optional) ->setFed() // Education requirements (optional) // SimplyHired API query setters ->setPshid() // Publisher id (required) ->setAuth() // Authentication Key (required) ->setSsty() // Search style (required) ->setCflg() // Configuration flag (required) ->setClip() // Client IP (required) ->setFrag() // Description fragment, defaults to display clip, not whole description (optional) // More ->setKeyword('project manager') // ->setLocation('Chicago, IL') // ->setCount(200) // ->getJobs();
The getJobs method will return a Collection of Job objects.
Testing
$ ./vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
License
The Apache 2.0. Please see License File for more information.
统计信息
- 总下载量: 211
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2015-04-22