Skip to content

Company

duck7000 edited this page Nov 18, 2024 · 1 revision

Description of the working

Get all available Company information
This info is only available for imdbPro users but through GraphQL it is freely available!
Although PrimaryImage and bio are available those values are always null (in my tests) so those are not included

Calling the class

$imdb = new \Imdb\Company();
$results = $imdb->companyInfo("co0185428");

parameter

  • $companyId: input company id including co like: "co0185428"

Results

@return Title[] array of Company details

  •  [0] => Array
    
  •          [id] =>             (string) (without co)
    
  •          [name] =>           (string)
    
  •          [country] =>        (string)
    
  •          [meterRanking] =>   (array)
    
  •              [currentRank] =>        (int) 3622
    
  •              [changeDirection] =>    (string) DOWN
    
  •              [difference] =>         (int) 1707
    
  •          [type] =>           (array)
    
  •              [0] => (string) Distributor
    
  •              [1] => (string) Production
    
  •          [keyStaff] =>       (array)
    
  •              [0] => (array)
    
  •                  [id] =>     (string) 3280279
    
  •                  [name] =>   (string) Ciaran Michael Vejby
    
  •                  [employments] => (array)
    
  •                      [0] => (array)
    
  •                          [employmentTitle] => (string) Editorial Department
    
  •                          [occupation] =>      (string) Editorial Department
    
  •                          [branch] =>          (string)
    
  •          [knownFor] =>       (array)
    
  •              [0] => (array)
    
  •                  [id] =>     (string) 0993840
    
  •                  [name] =>   (string) Army of the dead
    
  •                  [jobs] =>   (array)
    
  •                      [0] => (array)
    
  •                          [category] => (string) Other Companies
    
  •                          [job] =>      (string) Music
    
  •                  [countries] =>   (array)
    
  •                      [0] => World-wide
    
  •                  [year]      (int)
    
  •                  [endYear]   (int)
    
  •          [affiliations] =>   (array)
    
  •              [0] (array)
    
  •                  [companyName] => (string) Warner Bros. Entertainment
    
  •                  [description] => (string) Also Known As
    

Clone this wiki locally