Skip to content

Commit

Permalink
Updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
karllhughes committed Jan 6, 2017
1 parent 441815f commit 9eaf3bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ composer require jobapis/jobs-monster

## Usage
Create a Query object and add all the parameters you'd like via the constructor.

*Note: The Monster RSS feed only provides jobs from the past 24 hours.*

```php
// Add parameters to the query via the constructor
Expand All @@ -36,8 +38,8 @@ You can even chain them if you'd like.

```php
// Add parameters via the set() method
$query->set('l', 'Chicago, IL')
->set('limit', '20');
$query->set('where', 'Chicago, IL')
->set('page', '2');
```

Then inject the query object into the provider.
Expand Down

0 comments on commit 9eaf3bd

Please sign in to comment.