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\FindRepository($client); 20$find = $repository->findBy('tt0120737', ['external_source' => 'imdb_id']); 21 22var_dump($find); 23