Skip to content

Commit

Permalink
Expand docs a very tiny bit
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfzdotnet committed Feb 9, 2014
1 parent c123853 commit 7d84946
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,13 @@ echo $movie->getTitle();

__The repositories also contain the other API methods that are available through the API namespace.__

```php
$repository = new \Tmdb\Repository\MovieRepository($client);
$topRated = $repository->getTopRated(array('page' => 3));
// or
$popular = $repository->getPopular();
```

An `ImageHelper` class is provided to take care of the images, which does require the configuration to be loaded:

```php
Expand Down

0 comments on commit 7d84946

Please sign in to comment.