diff --git a/examples/collection/api/get.php b/examples/collection/api/get.php new file mode 100644 index 00000000..e5efded6 --- /dev/null +++ b/examples/collection/api/get.php @@ -0,0 +1,21 @@ + + * @copyright (c) 2013, Michael Roterman + * @version 0.0.1 + */ +require_once '../../../vendor/autoload.php'; +require_once '../../../apikey.php'; + +$token = new \Tmdb\ApiToken(TMDB_API_KEY); +$client = new \Tmdb\Client($token); + +$collection = $client->getCollectionsApi()->getCollection(10); + +var_dump($collection); diff --git a/examples/collection/api/images.php b/examples/collection/api/images.php new file mode 100644 index 00000000..73a8c860 --- /dev/null +++ b/examples/collection/api/images.php @@ -0,0 +1,21 @@ + + * @copyright (c) 2013, Michael Roterman + * @version 0.0.1 + */ +require_once '../../../vendor/autoload.php'; +require_once '../../../apikey.php'; + +$token = new \Tmdb\ApiToken(TMDB_API_KEY); +$client = new \Tmdb\Client($token); + +$collection = $client->getCollectionsApi()->getImages(10); + +var_dump($collection);