Skip to content

IExchangeRatesClient.GetMonthlyTimeSeries Method

maurizuki edited this page Oct 22, 2020 · 3 revisions

GetMonthlyTimeSeries Method

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

Returns the monthly average exchange rates of a currency for a specific month range.

Task<MonthlyTimeSeriesModel> GetMonthlyTimeSeries (int startMonth, int startYear, int endMonth, int endYear, string baseCurrencyIsoCode, string currencyIsoCode, Language language = Language.En);

Parameters

Parameter Type Description
startMonth Int32 The start month of the range for the exchange rates (1-12).
startYear Int32 The start year of the range for the exchange rates.
endMonth Int32 The end month of the range for the exchange rates (1-12).
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<MonthlyTimeSeriesModel>
A task that represents the asynchronous operation. The task result contains the monthly average exchange rates of a currency for a specific month range.

Clone this wiki locally