CNB-extended 1.0.0

CNB.cz Daily Exchange + Bank codes Rates .NET Standard 2.0 Library

Install-Package CNB-extended -Version 1.0.0
dotnet add package CNB-extended --version 1.0.0
<PackageReference Include="CNB-extended" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CNB-extended --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Using

// return decimal value of Exchange rate for EUR
await _cnb.ExchangeRateCode("EUR");

// return decimal value of Exchange rate for EUR for given date
await _cnb.ExchangeRateCode("EUR", date);

// return decimal value of Exchange rate for EUR for given date, include other countries in search
await _cnb.ExchangeRateCode("EUR", date, true);

// return all Exchange rates for actual date
await _cnb.ExchangeRateAll();

// return all Exchange rates on given date
await _cnb.ExchangeRateAll(date);

// return all Exchange rates on given date in English
await _cnb.ExchangeRateAll(date, "EN");

//oter = more than 120 countries from other country list of CNB
// return other Exchange rates for acual date
await _cnb.ExchangeRateOther();

// return other Exchange rates on given date
await _cnb.ExchangeRateOther(date);

// return other Exchange rates on given date in English
await _cnb.ExchangeRateOther(date, "EN");

// return all Bank codes
await _cnb.BankCodeAll();

Using

// return decimal value of Exchange rate for EUR
await _cnb.ExchangeRateCode("EUR");

// return decimal value of Exchange rate for EUR for given date
await _cnb.ExchangeRateCode("EUR", date);

// return decimal value of Exchange rate for EUR for given date, include other countries in search
await _cnb.ExchangeRateCode("EUR", date, true);

// return all Exchange rates for actual date
await _cnb.ExchangeRateAll();

// return all Exchange rates on given date
await _cnb.ExchangeRateAll(date);

// return all Exchange rates on given date in English
await _cnb.ExchangeRateAll(date, "EN");

//oter = more than 120 countries from other country list of CNB
// return other Exchange rates for acual date
await _cnb.ExchangeRateOther();

// return other Exchange rates on given date
await _cnb.ExchangeRateOther(date);

// return other Exchange rates on given date in English
await _cnb.ExchangeRateOther(date, "EN");

// return all Bank codes
await _cnb.BankCodeAll();

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 150 12/16/2019