diff --git a/examples/lists/api/get.php b/examples/lists/api/get.php new file mode 100644 index 00000000..45763d3c --- /dev/null +++ b/examples/lists/api/get.php @@ -0,0 +1,24 @@ + + * @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); + +$sessionToken = new \Tmdb\SessionToken(TMDB_SESSION_TOKEN); +$client->setSessionToken($sessionToken); + +$list = $client->getListsApi()->getList('509ec17b19c2950a0600050d'); + +var_dump($list); diff --git a/examples/lists/model/create_list.php b/examples/lists/model/list_create.php similarity index 100% rename from examples/lists/model/create_list.php rename to examples/lists/model/list_create.php diff --git a/examples/lists/model/remove.php b/examples/lists/model/list_delete.php similarity index 100% rename from examples/lists/model/remove.php rename to examples/lists/model/list_delete.php