Demo: Get company details

Type a company id in the form below to test the code to get company details:

$tmdb  = Factory::create()->getTmdb('your_api_key');

$item  = new Item($tmdb);
$infos = $item->getCompany(14, array('language' => 'en-EN'));

echo '<h3>Company details</h3>';
echo '<ul>';
echo '<li><b>Name: </b>'.$infos->getName().'</li>';
echo '<li><b>Id: </b>'.$infos->getId().'</li>';
echo '</ul>';

See Company reference page for availables methods.

Result