Skip to content

Commit

Permalink
Merge pull request #10 from Dibbyo456/master
Browse files Browse the repository at this point in the history
Fixed wrong catalog examples.
  • Loading branch information
baileyherbert authored Feb 21, 2019
2 parents 49d82bd + 4ac70c5 commit 1f3ce8e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,13 @@ $client->catalog->comments(['item_id' => 12345]);
### Popular items by site

```php
$client->catalog->popular(['site' => 'codecanyon.net']);
$client->catalog->popular(['site' => 'codecanyon']);
```

### Categories by site

```php
$client->catalog->categories(['site' => 'codecanyon.net']);
$client->catalog->categories(['site' => 'codecanyon']);
```

### Prices for a particular item
Expand All @@ -231,19 +231,19 @@ $client->catalog->prices(['item_id' => 12345]);
### New items by site and category

```php
$client->catalog->prices(['site' => 'codecanyon.net', 'category' => 'php-scripts']);
$client->catalog->newest(['site' => 'codecanyon', 'category' => 'php-scripts']);
```

### Find featured items

```php
$client->catalog->featured(['site' => 'codecanyon.net']);
$client->catalog->featured(['site' => 'codecanyon']);
```

### Random new items

```php
$client->catalog->prices(['site' => 'codecanyon.net']);
$client->catalog->random(['site' => 'codecanyon']);
```


Expand Down

0 comments on commit 1f3ce8e

Please sign in to comment.