ToolsImp..::..SearchAsync Method
Get currencies, exchanges, icos, people, tags for a given search query.
Namespace:
CoinpaprikaApi.ImpAssembly: CoinpaprikaApi (in CoinpaprikaApi.dll)
Syntax
public Task<SearchResponse> SearchAsync( string query, SearchCategory categories, bool symbol_search, uint limit )
Public Function SearchAsync ( _ query As String, _ categories As SearchCategory, _ symbol_search As Boolean, _ limit As UInteger _ ) As Task(Of SearchResponse)
Parameters
- query
- Type: String
The query term / phrase for search (ex: eth).
- categories
- Type: CoinpaprikaApi.Types..::..SearchCategory
One or more categories to search. Default: all
- symbol_search
- Type: Boolean
If set to true search only by symbol (works for currencies only).
- limit
- Type: UInt32
The limit of results per category (max 250). Default: 6
Return Value
A Task<SearchResponse> representing the asynchronous operation.Exceptions
Exception | Condition |
---|---|
ArgumentNullException | query - Invalid value, query must be a valid search term (phrase). |