new Show( spotify, data )

Description

Represents the show.

Parameters
Name Type Description
spotify Spotify

The spotify client.

data object

The show object data.

Details

Members


spotify :Spotify

Description

The spotify client.

Details

Methods


play( options ) → {Promise.<(Status|HTTPError|ApiError)>}

Description

Shortcut to play the show.

Parameters
Name Type Description
options StartOptions
Returns
Details

save() → {Promise.<(Status|HTTPError|ApiError)>}

Description

Shortcut to save the show.

Returns
Details

remove() → {Promise.<(Status|HTTPError|ApiError)>}

Description

Shortcut to remove the show.

Returns
Details

starred() → {Promise.<(Array.<boolean>|HTTPError|ApiError)>}

Description

Shortcut to check if a shows saved in the current Spotify user's library.

Returns
Details