/// <inheritdoc /> public async Task <IList <Rate> > GetYearRatesAsync(int year) { using (var readStream = await this.GetResponse(FormattableString.Invariant($"year.txt?year={year}"))) return(await RatesParser.YearParseAsync(readStream)); }
/// <inheritdoc /> public async Task <IList <Rate> > GetDailyRatesAsync(DateTime date) { using (var readStream = await this.GetResponse(FormattableString.Invariant($"daily.txt?date={date:dd.MM.yyyy}"))) return(await RatesParser.DailyParseAsync(readStream)); }