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
followArtist
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
followPlaylist
Link copied to clipboard
suspend fun followPlaylist(playlist: String, followPublicly: Boolean = true): 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
followUsers
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
isFollowingArtist
Link copied to clipboard
isFollowingArtists
Link copied to clipboard
isFollowingPlaylist
Link copied to clipboard
isFollowingUser
Link copied to clipboard
isFollowingUsers
Link 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
unfollowArtists
Link copied to clipboard
Remove the current user as a follower of artistsRequires the SpotifyScope.USER_FOLLOW_MODIFY scopeApi Reference
unfollowPlaylist
Link 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
unfollowUsers
Link 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