jobbrander/jobs-github

This package is abandoned and no longer maintained. The author suggests using the jobapis/jobs-github package instead.

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

0.1.1 2015-09-01 19:08 UTC

README

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

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

Installation

To install, use composer:

composer require jobbrander/jobs-github

Usage

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

$client = new JobBrander\Jobs\Client\Provider\Github();

$jobs = $client->setKeyword('designer') // A search term, such as "ruby" or "java".
    ->setLattitude(41.8369)      // A specific latitude. If used, you must also send long and must not send location.
    ->setLongitude(87.6847)      // A specific longitude. If used, you must also send lat and must not send location.
    ->setLocation('Chicago, IL') // A city name, zip code, or other location search term.
    ->setFullTime(true)          // If you want to limit results to full time positions set this parameter to 'true'.
    ->setPage(2)                 // Pagination starts by default at 0. 50 results per page.
    ->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.