ExchangesImp..::..GetExchangeAsync Method

Get basic information about a given exchange.

Namespace:  CoinpaprikaApi.Imp
Assembly:  CoinpaprikaApi (in CoinpaprikaApi.dll)

Syntax


public Task<ExchangeItem> GetExchangeAsync(
	string exchange_id,
	IEnumerable<string> quotes
)
Public Function GetExchangeAsync ( _
	exchange_id As String, _
	quotes As IEnumerable(Of String) _
) As Task(Of ExchangeItem)

Parameters

exchange_id
Type: String
The exchange identifier (ex: binance).
quotes
Type: IEnumerable<(Of <(<'String>)>)>
A list of quotes to return. Currently allowed values: BTC, ETH, USD, EUR, PLN, KRW, GBP, CAD, JPY, RUB, TRY, NZD, AUD, CHF, UAH, HKD, SGD, NGN, PHP, MXN, BRL, THB, CLP, CNY, CZK, DKK, HUF, IDR, ILS, INR, MYR, NOK, PKR, SEK, TWD, ZAR, VND, BOB, COP, PEN, ARS, ISK. Default: USD

Return Value

A Task<ExchangeItem> representing the asynchronous operation.

Exceptions


ExceptionCondition
ArgumentNullExceptionexchange_id - Invalid value, exchange_id must be a valid exchange identified (ex: binance)