search
suspend fun search(query: String, quotesCount: Int = 8, newsCount: Int = 8, enableFuzzyQuery: Boolean = false): SearchResponse(source)
Searches for symbols and news using the Yahoo Finance Search API.
Return
SearchResponse containing matching quotes and news articles
Parameters
query
Search query string
quotes Count
Number of quote results to return (default: 8)
news Count
Number of news results to return (default: 8)
enable Fuzzy Query
Whether to enable fuzzy search matching (default: false)
Throws
If the API call fails or returns an error response