class

Tmdb::Company

Inherits Tmdb::LogoUrls < Reference < Object

Constructors

detail(id : Int64) : Company

Get a companies details by id.

Source
new(id : Int64, name : String, logo_path : Nil | String, origin_country : Nil | String)
Source
new(data : JSON::Any)
Source

Instance methods

alternative_names

Get the alternative names of a company.

Source
description
Source
headquarters
Source
homepage
Source
images

Get a company logos.

There are two image formats that are supported for companies, PNG's and SVG's. You can see which type the original file is by looking at the file_type field. We prefer SVG's as they are resolution independent and as such, the width and height are only there to reflect the original asset that was uploaded. An SVG can be scaled properly beyond those dimensions if you call them as a PNG.

For more information about how SVG's and PNG's can be used, take a read through.

Source
logo_path
Source
logos

See #images

Source
name
Source
origin_country
Source
parent_company
Source