Skip to content
DocumentationAPI Reference

Check User's Saved Shows

List<boolean> me().shows().check(ShowCheckParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/me/shows/contains

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

ParametersExpand Collapse
ShowCheckParams params
String ids

A comma-separated list of the Spotify IDs for the shows. Maximum: 50 IDs.

Check User's Saved Shows

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.ShowCheckParams;

public final class Main {
    private Main() {}

    public static void main(String[] args) {
        SpottedClient client = SpottedOkHttpClient.fromEnv();

        ShowCheckParams params = ShowCheckParams.builder()
            .ids("5CfCWKI5pZ28U0uOzXkDHe,5as3aKmN2k11yfDDDSrvaZ")
            .build();
        List<Boolean> response = client.me().shows().check(params);
    }
}
[
  false,
  true
]
Returns Examples
[
  false,
  true
]