2017 © Pedro Peláez
 

library jobs-github

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

image

jobapis/jobs-github

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

  • Thursday, September 8, 2016
  • by karllhughes
  • Repository
  • 2 Watchers
  • 2 Stars
  • 1,440 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 13 % Grown

The README.md

Github Jobs Client

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads, (*1)

This package provides Github Jobs API support for the Jobs Common project., (*2)

Installation

To install, use composer:, (*3)

composer require jobapis/jobs-github

Usage

Create a Query object and add all the parameters you'd like via the constructor., (*4)

// Add parameters to the query via the constructor
$query = new JobApis\Jobs\Client\Queries\GithubQuery([
    'search' => 'engineering'
]);

Or via the "set" method. All of the parameters documented in the API's documentation can be added., (*5)

// Add parameters via the set() method
$query->set('location', 'Chicago, IL');

You can even chain them if you'd like., (*6)

// Add parameters via the set() method
$query->set('page', '2')
    ->set('full_time', 'true');

Then inject the query object into the provider., (*7)

// Instantiating provider with a query object
$client = new JobApis\Jobs\Client\Provider\GithubProvider($query);

And call the "getJobs" method to retrieve results., (*8)

// Get a Collection of Jobs
$jobs = $client->getJobs();

This will return a Collection of Job objects., (*9)

Testing

bash $ ./vendor/bin/phpunit, (*10)

Contributing

Please see CONTRIBUTING for details., (*11)

Credits

License

The Apache 2.0. Please see License File for more information., (*12)

The Versions

08/09 2016

dev-master

9999999-dev https://github.com/JobBrander/jobs-github

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object github api client

08/09 2016

1.0.0

1.0.0.0 https://github.com/JobBrander/jobs-github

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object github api client

01/09 2015

0.1.1

0.1.1.0 https://github.com/JobBrander/jobs-github

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object github api client

12/08 2015

0.1.0

0.1.0.0 https://github.com/JobBrander/jobs-github

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object github api client