Demo: Search company

Type a company name in the form below to test the code to search a company:

$tmdb      = Factory::create()->getTmdb('your_api_key');
$search    = new Search($tmdb);
$responses = $search->company('Universal Studios');

foreach ($responses as $response)
{
    echo '<li><b>Name:</b> '.$response->getName();
        echo '<ul>';
        echo '<li><b>Id:</b> '.$response->getId().'</li>';
        echo '<li><b>Logo path:</b> '.$response->getLogoPath().'</li>';
        echo '</ul>';
    echo '</li>';
}

See Results\Company reference page for availables methods.

Result