Search Apis
class SearchApis(client: HttpClient = SpotifyHttpClientFactory.create(), tokenProvider: TokenProvider) : BaseSpotifyApi
Search domain API for Spotify Web API.
Provides catalog search across albums, artists, tracks, playlists, and other resource types.
Functions
Link copied to clipboard
suspend fun searchForItem(q: String, types: Set<SearchType>, market: CountryCode? = null, pagingOptions: PagingOptions = PagingOptions(), includeExternalAudio: Boolean = false): SpotifyResult<SearchResponse>
Searches the Spotify catalog for albums, artists, tracks, playlists, and other item types.