new ShowManager( spotify )

Description

Manages spotify playing.

Parameters
Name Type Description
spotify Spotify

The spotify client.

Details

Members


spotify :Spotify

Description

The spotify client.

Details

Methods


get( id ) → {Promise.<(Show|HTTPError|ApiError)>}

Description

Get Spotify catalog information for a single show identified by its unique Spotify ID.

Parameters
Name Type Description
id string

The Spotify ID for the show.

Returns
Details

episodes( id, options ) → {Promise.<(Array.<Episode>|HTTPError|ApiError)>}

Description

Get Spotify catalog information about an show’s episodes.

Parameters
Name Type Description
id string

The Spotify ID for the show.

options LimitOptions
Returns
Details

users( options ) → {Promise.<(Array.<Show>|HTTPError|ApiError)>}

Description

Get a list of shows saved in the current Spotify user's library.

Parameters
Name Type Description
options LimitOptions
Returns
Details

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

Description

Save one or more shows to current Spotify user's library.

Parameters
Name Type Description
ids string | Array.<string>

A list of the Spotify IDs.

Returns
Details

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

Description

Delete one or more shows from current Spotify user's library.

Parameters
Name Type Description
ids string | Array.<string>

A list of the Spotify IDs.

Returns
Details

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

Description

Check if one or more shows is already saved in the current Spotify user's library.

Parameters
Name Type Description
ids string | Array.<string>

A list of the Spotify IDs.

Returns
Details

Description

Get Spotify catalog information about shows.

Parameters
Name Type Description
query string

Your search query.

options SearchOptions
Returns
Details