Check if Current User Follows Playlist
List<boolean> playlists().followers().check(FollowerCheckParamsparams = FollowerCheckParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/playlists/{playlist_id}/followers/contains
Check to see if the current user is following a specified playlist.
Parameters
Check if Current User Follows Playlist
package dev.cjav.spotted.example;
import dev.cjav.spotted.client.SpottedClient;
import dev.cjav.spotted.client.okhttp.SpottedOkHttpClient;
import dev.cjav.spotted.models.playlists.followers.FollowerCheckParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
SpottedClient client = SpottedOkHttpClient.fromEnv();
List<Boolean> response = client.playlists().followers().check("3cEYpjA9oz9GiPac4AsH4n");
}
}[
true
]Returns Examples
[
true
]