class Tmdb::Network
- Tmdb::Network
- Reference
- Object
Included Modules
Defined in:
network.crConstructors
-
.detail(id : Int64) : Network
Get the details of a network.
- .new(data : JSON::Any)
Instance Method Summary
-
#alternative_names : Array(String)
Get the alternative names of a network.
- #headquarters : String
- #homepage : String
- #id : Int64
-
#images : Array(Logo)
Get a company logos.
- #logo_path : String | Nil
-
#logos : Array(Logo)
See
#images
- #name : String
- #origin_country : String
Instance methods inherited from module Tmdb::LogoUrls
logo_url(size : String = "original") : String
logo_url
Constructor Detail
Instance Method Detail
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.