ToolsImp..::..SearchAsync Method

Get currencies, exchanges, icos, people, tags for a given search query.

Namespace:  CoinpaprikaApi.Imp
Assembly:  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


ExceptionCondition
ArgumentNullExceptionquery - Invalid value, query must be a valid search term (phrase).