diff --git a/examples/configuration/api/get.php b/examples/configuration/api/get.php new file mode 100644 index 00000000..0defceee --- /dev/null +++ b/examples/configuration/api/get.php @@ -0,0 +1,23 @@ + + * @copyright (c) 2013, Michael Roterman + * @version 0.0.1 + */ +header('Content-Type: text/html; charset=utf-8'); + +require_once '../../../vendor/autoload.php'; +require_once '../../../apikey.php'; + +$token = new \Tmdb\ApiToken(TMDB_API_KEY); +$client = new \Tmdb\Client($token); + +$configuration = $client->getConfigurationApi()->getConfiguration(); + +var_dump($configuration);