search Item
suspend fun Ktify.searchItem(types: List<ObjectType>, limit: Int = 20, offset: Int = 0, includeExternal: Boolean? = null, market: String? = null, queue: SearchQueueBuilder.() -> Unit): SearchResult(source)
Search albums, artists, episodes, playlists, shows, tracks or users
Return
The search results as a SearchResult
Parameters
types
The types of the searched items
limit
The limit of search results per category, must be between 1 and 50, otherwise it will be 20
offset
The offset, maximum is 1000 (including the limit)
include External
Whether to include external hosted audio or not
market
(Optional) ISO 3166-1 alpha-2 code of a country. Can also be 'from_token', equivalent to the current users country.
queue
The queue for searching items