承接 jobbrander/jobs-authenticjobs 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jobbrander/jobs-authenticjobs

最新稳定版本:0.1.1

Composer 安装命令:

composer require jobbrander/jobs-authenticjobs

包简介

Making it simple to integrate your application with Authentic Jobs API.

README 文档

README

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

This package provides AuthenticJobs Jobs API support for the JobBrander's Jobs Client.

Installation

To install, use composer:

composer require jobbrander/jobs-authenticjobs

Usage

Usage is the same as Job Branders's Jobs Client, using \JobBrander\Jobs\Client\Provider\AuthenticJobs as the provider.

$client = new JobBrander\Jobs\Client\Provider\AuthenticJobs([
    'key' => 'YOUR API KEY',
]);

// Search for 200 job listings for 'project manager' in Chicago, IL
$jobs = $client->setKeyword('designer') // Keyword(s) to look for in the title or description of the job posting. Separate multiple keywords with commas. Multiple keywords will be treated as an OR
    ->setCategory('UI Design')     // The id of a job category to limit to. See aj.categories.getList
    ->setType('Freelance')         // The id of a job type to limit to. See aj.types.getList
    ->setSort('date-posted-asc')   // Accepted values are: date-posted-desc (the default) and date-posted-asc
    ->setCompany('Apple')          // Free-text matching against company names. Suggested values are the ids from aj.jobs.getCompanies
    ->setCity('Pasadena')          // Free-text matching against company location names. Suggested values are the ids from aj.jobs.getLocation
    ->setState('CA')               // Free-text matching against company location names. Suggested values are the ids from aj.jobs.getLocation
    ->setTelecommuting(1)          // Set to 1 if you only want telecommuting jobs
    ->setBeginDate(1438819200)     // Unix timestamp. Listings posted before this time will not be returned
    ->setEndDate(1441497600)       // Unix timestamp. Listings posted after this time will not be returned
    ->setPage(2)                   // The page of listings to return. Defaults to 1.
    ->setCount(20)                 // The number of listings per page. The default value is 10. The maximum value is 100.
    ->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.

统计信息

  • 总下载量: 68
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2015-08-07