* @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); $authenticationRepository = new \Tmdb\Repository\AuthenticationRepository($client); $sessionToken = $authenticationRepository->getGuestSessionToken($requestToken); var_dump($sessionToken);