Skip to content

ExchangeRatesClient.GetAnnualTimeSeries Method

maurizuki edited this page Oct 19, 2020 · 2 revisions

GetAnnualTimeSeries Method

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

Returns the annual average exchange rates of a currency for a specific year range.

public async Task<AnnualTimeSeriesModel> GetAnnualTimeSeries (int startYear, int endYear, string baseCurrencyIsoCode, string currencyIsoCode, Language language = Language.En);

Parameters

Parameter Type Description
startYear Int32 The start year of the range for the exchange rates.
endYear Int32 The end year 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<AnnualTimeSeriesModel>
A task that represents the asynchronous operation. The task result contains the annual average exchange rates of a currency for a specific year range.

Clone this wiki locally