Client Following Api
These endpoints allow you manage the artists, users and playlists that a Spotify user follows.
Constructors
ClientFollowingApi
Link copied to clipboard
Functions
areFollowingPlaylist
Link copied to clipboard
suspend fun areFollowingPlaylist(playlist: String, vararg users: String): List<Boolean>
Content copied to clipboard
areFollowingPlaylistRestAction
Link copied to clipboard
fun areFollowingPlaylistRestAction(playlist: String, vararg users: String): SpotifyRestAction<List<Boolean>>
Content copied to clipboard
followArtist
Link copied to clipboard
Add the current user as a follower of an artistRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
followArtistRestAction
Link copied to clipboard
Add the current user as a follower of an artistRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
followArtists
Link copied to clipboard
Add the current user as a follower of other artistsRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
followArtistsRestAction
Link copied to clipboard
fun followArtistsRestAction(vararg artists: String): SpotifyRestAction<Unit>
Content copied to clipboard
Add the current user as a follower of other artistsRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
followPlaylist
Link copied to clipboard
suspend fun followPlaylist(playlist: String, followPublicly: Boolean = true): String
Content copied to clipboard
followPlaylistRestAction
Link copied to clipboard
fun followPlaylistRestAction(playlist: String, followPublicly: Boolean): SpotifyRestAction<String>
Content copied to clipboard
followUser
Link copied to clipboard
Add the current user as a follower of another userRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
followUserRestAction
Link copied to clipboard
Add the current user as a follower of another userRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
followUsers
Link copied to clipboard
Add the current user as a follower of other usersRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
followUsersRestAction
Link copied to clipboard
Add the current user as a follower of other usersRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
getFollowedArtists
Link copied to clipboard
suspend fun getFollowedArtists(limit: Int? = api.spotifyApiOptions.defaultLimit, after: String? = null): CursorBasedPagingObject<Artist>
Content copied to clipboard
getFollowedArtistsRestAction
Link copied to clipboard
fun getFollowedArtistsRestAction(limit: Int? = api.spotifyApiOptions.defaultLimit, after: String? = null): SpotifyRestAction<CursorBasedPagingObject<Artist>>
Content copied to clipboard
isFollowingArtist
Link copied to clipboard
isFollowingArtistRestAction
Link copied to clipboard
fun isFollowingArtistRestAction(artist: String): SpotifyRestAction<Boolean>
Content copied to clipboard
isFollowingArtists
Link copied to clipboard
isFollowingArtistsRestAction
Link copied to clipboard
fun isFollowingArtistsRestAction(vararg artists: String): SpotifyRestAction<List<Boolean>>
Content copied to clipboard
isFollowingPlaylist
Link copied to clipboard
isFollowingPlaylistRestAction
Link copied to clipboard
fun isFollowingPlaylistRestAction(playlistId: String): SpotifyRestAction<Boolean>
Content copied to clipboard
fun isFollowingPlaylistRestAction(playlist: String, user: String): SpotifyRestAction<Boolean>
Content copied to clipboard
isFollowingUser
Link copied to clipboard
isFollowingUserRestAction
Link copied to clipboard
isFollowingUsers
Link copied to clipboard
isFollowingUsersRestAction
Link copied to clipboard
fun isFollowingUsersRestAction(vararg users: String): SpotifyRestAction<List<Boolean>>
Content copied to clipboard
unfollowArtist
Link copied to clipboard
Remove the current user as a follower of an artistRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
unfollowArtistRestAction
Link copied to clipboard
Remove the current user as a follower of an artistRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
unfollowArtists
Link copied to clipboard
Remove the current user as a follower of artistsRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
unfollowArtistsRestAction
Link copied to clipboard
fun unfollowArtistsRestAction(vararg artists: String): SpotifyRestAction<Unit>
Content copied to clipboard
Remove the current user as a follower of artistsRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
unfollowPlaylist
Link copied to clipboard
unfollowPlaylistRestAction
Link copied to clipboard
fun unfollowPlaylistRestAction(playlist: String): SpotifyRestAction<String>
Content copied to clipboard
unfollowUser
Link copied to clipboard
Remove the current user as a follower of another userRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
unfollowUserRestAction
Link copied to clipboard
Remove the current user as a follower of another userRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
unfollowUsers
Link copied to clipboard
Remove the current user as a follower of other usersRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
unfollowUsersRestAction
Link copied to clipboard
fun unfollowUsersRestAction(vararg users: String): SpotifyRestAction<Unit>
Content copied to clipboard
Remove the current user as a follower of other usersRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
Properties
Sources
(source)
Link copied to clipboard