Browse Api
Endpoints for getting playlists and new album releases featured on Spotify’s Browse tab.
Constructors
BrowseApi
Link copied to clipboard
Functions
getAvailableGenreSeeds
Link copied to clipboard
getAvailableGenreSeedsRestAction
Link copied to clipboard
getCategory
Link copied to clipboard
suspend fun getCategory(categoryId: String, market: Market? = null, locale: Locale? = null): SpotifyCategory
Content copied to clipboard
getCategoryList
Link copied to clipboard
suspend fun getCategoryList(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, locale: Locale? = null, market: Market? = null): PagingObject<SpotifyCategory>
Content copied to clipboard
getCategoryListRestAction
Link copied to clipboard
fun getCategoryListRestAction(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, locale: Locale? = null, market: Market? = null): SpotifyRestAction<PagingObject<SpotifyCategory>>
Content copied to clipboard
getCategoryRestAction
Link copied to clipboard
fun getCategoryRestAction(categoryId: String, market: Market? = null, locale: Locale? = null): SpotifyRestAction<SpotifyCategory>
Content copied to clipboard
getFeaturedPlaylists
Link copied to clipboard
suspend fun getFeaturedPlaylists(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, locale: Locale? = null, market: Market? = null, timestamp: Long? = null): FeaturedPlaylists
Content copied to clipboard
getFeaturedPlaylistsRestAction
Link copied to clipboard
fun getFeaturedPlaylistsRestAction(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, locale: Locale? = null, market: Market? = null, timestamp: Long? = null): SpotifyRestAction<FeaturedPlaylists>
Content copied to clipboard
getNewReleases
Link copied to clipboard
suspend fun getNewReleases(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): PagingObject<SimpleAlbum>
Content copied to clipboard
getNewReleasesRestAction
Link copied to clipboard
fun getNewReleasesRestAction(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): SpotifyRestAction<PagingObject<SimpleAlbum>>
Content copied to clipboard
getPlaylistsForCategory
Link copied to clipboard
suspend fun getPlaylistsForCategory(categoryId: String, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): PagingObject<SimplePlaylist>
Content copied to clipboard
getPlaylistsForCategoryRestAction
Link copied to clipboard
fun getPlaylistsForCategoryRestAction(categoryId: String, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): SpotifyRestAction<PagingObject<SimplePlaylist>>
Content copied to clipboard
getRecommendations
Link copied to clipboard
suspend fun getRecommendations(seedArtists: List<String>? = null, seedGenres: List<String>? = null, seedTracks: List<String>? = null, limit: Int? = api.spotifyApiOptions.defaultLimit, market: Market? = null, targetAttributes: Map<TuneableTrackAttribute<*>, Number> = mapOf(), minAttributes: Map<TuneableTrackAttribute<*>, Number> = mapOf(), maxAttributes: Map<TuneableTrackAttribute<*>, Number> = mapOf()): RecommendationResponse
Content copied to clipboard
getRecommendationsRestAction
Link copied to clipboard
fun getRecommendationsRestAction(seedArtists: List<String>? = null, seedGenres: List<String>? = null, seedTracks: List<String>? = null, limit: Int? = api.spotifyApiOptions.defaultLimit, market: Market? = null, targetAttributes: Map<TuneableTrackAttribute<*>, Number> = mapOf(), minAttributes: Map<TuneableTrackAttribute<*>, Number> = mapOf(), maxAttributes: Map<TuneableTrackAttribute<*>, Number> = mapOf()): SpotifyRestAction<RecommendationResponse>
Content copied to clipboard
getTrackRecommendations
Link copied to clipboard
suspend fun getTrackRecommendations(seedArtists: List<String>? = null, seedGenres: List<String>? = null, seedTracks: List<String>? = null, limit: Int? = api.spotifyApiOptions.defaultLimit, market: Market? = null, targetAttributes: List<TrackAttribute<*>> = listOf(), minAttributes: List<TrackAttribute<*>> = listOf(), maxAttributes: List<TrackAttribute<*>> = listOf()): RecommendationResponse
Content copied to clipboard
getTrackRecommendationsRestAction
Link copied to clipboard
fun getTrackRecommendationsRestAction(seedArtists: List<String>? = null, seedGenres: List<String>? = null, seedTracks: List<String>? = null, limit: Int? = api.spotifyApiOptions.defaultLimit, market: Market? = null, targetAttributes: List<TrackAttribute<*>> = listOf(), minAttributes: List<TrackAttribute<*>> = listOf(), maxAttributes: List<TrackAttribute<*>> = listOf()): SpotifyRestAction<RecommendationResponse>
Content copied to clipboard
Properties
Sources
common source
Link copied to clipboard