Skip to content
DocumentationAPI Reference

Save Shows for Current User

me().shows().save(ShowSaveParamsparams = ShowSaveParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
PUT/me/shows

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

ParametersExpand Collapse
params: ShowSaveParams
ids: Optional<List<String>>

A JSON array of the Spotify IDs.
A maximum of 50 items can be specified in one request. Note: if the ids parameter is present in the query string, any IDs listed here in the body will be ignored.

published: Optional<Boolean>

The playlist's public/private status (if it should be added to the user's profile or not): true the playlist will be public, false the playlist will be private, null the playlist status is not relevant. For more about public/private status, see Working with Playlists

Save Shows for Current User

package dev.cjav.spotted.example

import dev.cjav.spotted.client.SpottedClient
import dev.cjav.spotted.client.okhttp.SpottedOkHttpClient
import dev.cjav.spotted.models.me.shows.ShowSaveParams

fun main() {
    val client: SpottedClient = SpottedOkHttpClient.fromEnv()

    client.me().shows().save()
}
Returns Examples