SpotifyApiSpotify LogoJS

Show src/structures/Show.ts#L105

Spotify api's show object.


Properties:

availableMarkets copyrights description episodes explicit externalURL htmlDescription id images isExternallyHosted languages mediaType name publisher type uri

Methods:

makeCodeImage

constructor(data, client) src/structures/Show.ts#L105

No documentation found.

NameTypeDescription
dataSimplifiedShow | Show
clientClientThe spotify client.

.availableMarkets src/structures/Show.ts#L22

Type:

string[]

A list of the countries in which the show can be played, identified by their ISO 3166-1 alpha-2 code.

.copyrights src/structures/Show.ts#L27

Type:

Copyright[]

The copyright statements of the show.

.description src/structures/Show.ts#L32

Type:

string

A description of the show. HTML tags are stripped away from this field, use html_description field in case HTML tags are needed.

.episodes src/structures/Show.ts#L97
OPTIONAL

Type:

Episode[]

The episodes of the show.

.explicit src/structures/Show.ts#L37

Type:

boolean

Whether or not the show has explicit content (true = yes it does; false = no it does not OR unknown).

.externalURL src/structures/Show.ts#L42

Type:

ExternalUrl

External URLs for this show.

.htmlDescription src/structures/Show.ts#L47

Type:

string

A description of the show. This field may contain HTML tags.

.id src/structures/Show.ts#L52

Type:

string

The Spotify ID for the show.

.images src/structures/Show.ts#L57

Type:

Image[]

The cover art for the show in various sizes, widest first.

.isExternallyHosted src/structures/Show.ts#L62

Type:

boolean

True if all of the show’s episodes are hosted outside of Spotify’s CDN. This field might be null in some cases.

.languages src/structures/Show.ts#L67

Type:

string[]

A list of the languages used in the show, identified by their ISO 639 code.

.mediaType src/structures/Show.ts#L72

Type:

string

The media type of the show.

.name src/structures/Show.ts#L77

Type:

string

The name of the show.

.publisher src/structures/Show.ts#L82

Type:

string

The publisher of the show.

.type src/structures/Show.ts#L87

Type:

SpotifyType

The object type: “show”.

.uri src/structures/Show.ts#L92

Type:

string

The Spotify URI for the show.

.makeCodeImage(color) src/structures/Show.ts#L129

Returns a code image url from the spotify uri.

Returns:

string

Parameters:

NameTypeDescription
colorstringThe color code in hex.