Members
- 
			spotify :Spotify
- 
	DescriptionThe spotify client. Details
Methods
- 
			get( id, options ) → {Promise.<(Playlist|HTTPError|ApiError)>}
- 
	DescriptionGet a playlist owned by a Spotify user. ParametersName Type Description idstring The Spotify ID of the playlist. optionsPlaylistOptions ReturnsDetails
- 
			modify( id, options ) → {Promise.<(Status|HTTPError|ApiError)>}
- 
	DescriptionChange a playlist's name and public/private state. (The user must, of course, own the playlist.) ParametersName Type Description idstring The Spotify ID of the playlist. optionsModifyOptions ReturnsDetails
- 
			update( id, options ) → {Status|HTTPError|ApiError}
- 
	DescriptionEither reorder or replace items in a playlist depending on the request's parameters. ParametersName Type Description idArray.<string> The Spotify ID of the playlist. optionsUpdatePlaylistOptions ReturnsDetails
- 
			tracks( id, options ) → {Promise.<(Array.<Track>|HTTPError|ApiError)>}
- 
	DescriptionGet full details of the items of a playlist owned by a Spotify user. ParametersName Type Description idstring The Spotify ID of the playlist. optionsPlaylistTracksOptions ReturnsDetails
- 
			add( id, uris [, position ] ) → {Promise.<(Status|HTTPError|ApiError)>}
- 
	DescriptionAdd one or more items to a user's playlist. ParametersName Type Attributes Default Description idstring The Spotify ID of the playlist. urisContextURI | Array.<ContextURI> A list of Spotify URIs to add, can be track or episode URIs. Maximum: 100 positionnumber <optional> 0 The position to insert the items, a zero-based index. ReturnsDetails
- 
			remove( id, uris [, snapshot ] ) → {Promise.<(Status|HTTPError|ApiError)>}
- 
	DescriptionRemove one or more items from a user's playlist. ParametersName Type Attributes Description idstring The Spotify ID of the playlist. urisContextURI | Array.<ContextURI> A list of Spotify URIs to remove, can be track or episode URIs. Maximum: 100 snapshotstring <optional> The playlist's snapshot ID against which you want to make the changes. ReturnsDetails
- 
			users( [ id ], options ) → {Promise.<(Array.<Playlist>|HTTPError|ApiError)>}
- 
	DescriptionGet a list of the playlists owned or followed by the current Spotify user. ParametersName Type Attributes Description idstring <optional> The user's Spotify user ID - if not provided it will default to the current user. optionsLimitOptions ReturnsDetails
- 
			follow( id [, state ] ) → {Promise.<(Status|HTTPError|ApiError)>}
- 
	DescriptionAdd the current user as a follower of a playlist. ParametersName Type Attributes Default Description idstring The Spotify ID of the playlist. stateboolean <optional> true If the playlist will be included in user's public playlists. ReturnsDetails
- 
			unfollow( id ) → {Promise.<(Status|HTTPError|ApiError)>}
- 
	DescriptionRemove the current user as a follower of a playlist. ParametersName Type Description idstring The Spotify ID of the playlist. ReturnsDetails
- 
			followers( id, users ) → {Array.<boolean>|HTTPError|ApiError}
- 
	DescriptionCheck to see if one or more Spotify users are following a specified playlist. ParametersName Type Description idstring The Spotify ID of the playlist. usersstring | Array.<string> A list of Spotify User IDs. ReturnsDetails
- 
			create( id, options ) → {Promise.<(Playlist|HTTPError|ApiError)>}
- 
	DescriptionCreate a playlist for a Spotify user. ParametersName Type Description idstring The user's Spotify user ID. optionsModifyOptions ReturnsDetails
- 
			featured( [ options ] ) → {Promise.<(Array.<Playlist>|HTTPError|ApiError)>}
- 
	DescriptionGet a list of Spotify featured playlists. ParametersName Type Attributes Description optionsFeaturedOptions <optional> ReturnsDetails
- 
			categories( id, options ) → {Promise.<(Array.<Playlist>|HTTPError|ApiError)>}
- 
	DescriptionGet a list of Spotify playlists tagged with a particular category. ParametersName Type Description idstring The Spotify category ID for the category. optionsLimitOptions ReturnsDetails
- 
			cover( id [, image ] ) → {Promise.<(Image|Status|HTTPError|ApiError)>}
- 
	DescriptionGet the current image associated with a specific playlist. ParametersName Type Attributes Description idstring The Spotify ID of the playlist. imagestring <optional> The Base64 image encoded to upload as cover art. ReturnsDetails
- 
			search( query, options ) → {Promise.<(Array.<Playlist>|HTTPError|ApiError)>}
- 
	DescriptionGet Spotify catalog information about playlists. ParametersName Type Description querystring Your search query. optionsSearchOptions ReturnsDetails