Search Api
Get Spotify catalog information about artists, albums, tracks or playlists that match a keyword string. It is possible to have 0 results and no exception thrown with these methods. Check the size of items returned.
Constructors
SearchApi
Link copied to clipboard
Types
SearchType
Link copied to clipboard
Functions
search
Link copied to clipboard
suspend fun search(query: String, vararg searchTypes: SearchApi.SearchType, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null, includeExternal: Boolean? = null): SpotifySearchResult
Content copied to clipboard
searchAlbum
Link copied to clipboard
suspend fun searchAlbum(query: String, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): PagingObject<SimpleAlbum>
Content copied to clipboard
searchAlbumRestAction
Link copied to clipboard
fun searchAlbumRestAction(query: String, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): SpotifyRestAction<PagingObject<SimpleAlbum>>
Content copied to clipboard
searchAllTypes
Link copied to clipboard
suspend fun searchAllTypes(query: String, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): SpotifySearchResult
Content copied to clipboard
searchAllTypesRestAction
Link copied to clipboard
fun searchAllTypesRestAction(query: String, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): SpotifyRestAction<SpotifySearchResult>
Content copied to clipboard
searchArtist
Link copied to clipboard
suspend fun searchArtist(query: String, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): PagingObject<Artist>
Content copied to clipboard
searchArtistRestAction
Link copied to clipboard
fun searchArtistRestAction(query: String, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): SpotifyRestAction<PagingObject<Artist>>
Content copied to clipboard
searchPlaylist
Link copied to clipboard
suspend fun searchPlaylist(query: String, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): PagingObject<SimplePlaylist>
Content copied to clipboard
searchPlaylistRestAction
Link copied to clipboard
fun searchPlaylistRestAction(query: String, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): SpotifyRestAction<PagingObject<SimplePlaylist>>
Content copied to clipboard
searchRestAction
Link copied to clipboard
fun searchRestAction(query: String, vararg searchTypes: SearchApi.SearchType, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null, includeExternal: Boolean? = null): SpotifyRestAction<SpotifySearchResult>
Content copied to clipboard
searchTrack
Link copied to clipboard
suspend fun searchTrack(query: String, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): PagingObject<Track>
Content copied to clipboard
searchTrackRestAction
Link copied to clipboard
fun searchTrackRestAction(query: String, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): SpotifyRestAction<PagingObject<Track>>
Content copied to clipboard
Properties
Inheritors
ClientSearchApi
Link copied to clipboard
Sources
(source)
Link copied to clipboard