Skip to content

ExchangeRatesClient.GetDailyTimeSeries Method

maurizuki edited this page Oct 20, 2020 · 1 revision

GetDailyTimeSeries Method

Namespace: BIExchangeRates.Client
Assembly: BIExchangeRates.Client.dll

Returns the daily exchange rates of a currency for a specific date range.

public async Task<DailyTimeSeriesModel> GetDailyTimeSeries (DateTime startDate, DateTime endDate, string baseCurrencyIsoCode, string currencyIsoCode, Language language = Language.En);

Parameters

Parameter Type Description
startDate DateTime The start date of the range for the exchange rates.
endDate DateTime The end date of the range for the exchange rates.
baseCurrencyIsoCode String The ISO code of the required currency (case insensitive).
currencyIsoCode String The ISO code of the reference currency ("EUR", "USD" or "ITL", case insensitive).
language Language The language of the returned data.

Returns

Task<DailyTimeSeriesModel>
A task that represents the asynchronous operation. The task result contains the daily exchange rates of a currency for a specific date range.

Clone this wiki locally