1<?php
2/**
3 * This file is part of the Tmdb PHP API created by Michael Roterman.
4 *
5 * For the full copyright and license information, please view the LICENSE
6 * file that was distributed with this source code.
7 *
8 * @package Tmdb
9 * @author Michael Roterman <michael@wtfz.net>
10 * @copyright (c) 2013, Michael Roterman
11 * @version 0.0.1
12 */
13require_once '../../../vendor/autoload.php';
14require_once '../../../apikey.php';
15
16$token  = new \Tmdb\ApiToken(TMDB_API_KEY);
17$client = new \Tmdb\Client($token);
18
19$repository = new \Tmdb\Repository\PeopleRepository($client);
20$popular    = $repository->getPopular();
21
22var_dump($popular);
23