FixerIOCore 1.0.6

.NET Standard 1.6
Suggested Alternatives

FixerSharp

Install-Package FixerIOCore -Version 1.0.6
dotnet add package FixerIOCore --version 1.0.6
<PackageReference Include="FixerIOCore" Version="1.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FixerIOCore --version 1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FixerIOCore, 1.0.6"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install FixerIOCore as a Cake Addin
#addin nuget:?package=FixerIOCore&version=1.0.6

// Install FixerIOCore as a Cake Tool
#tool nuget:?package=FixerIOCore&version=1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

FixerIoCore

A wrapper for the fixer.io rates and currency conversion API for .NET Core compatible with .NETStandard 1.6+

Install

On Nuget:

PM> Install-Package FixerIoCore

Using

Default values
Currency: EUR
Https: false

var fixerIoClient = new FixerIoClient();

Default currency

var fixerIoClient = new FixerIoClient(Symbol.USD);

Default currency and what quotes should be returned

var fixerIoClient = new FixerIoClient(Symbol.USD, new[] { Symbol.GBP, Symbol.EUR });

Default currency, what quotes should be returned and requests using https

var fixerIoClient = new FixerIoClient(Symbol.USD, new[] { Symbol.GBP, Symbol.EUR }, true);

Get latest rates

var quote = fixerIoClient.GetLatest();

Get historical rates for any day since 1999

var quote = fixerIoClient.GetForDate(new DateTime(2017, 3, 1));

Converting

var quote = fixerIoClient.Convert(Symbol.USD, Symbol.EUR);

or

var quote = fixerIoClient.Convert(Symbol.USD, Symbol.EUR, new DateTime(2017, 3, 1));

All functions have the option of asynchronous call

var quote = await fixerIoClient.ConvertAsync(Symbol.USD, Symbol.EUR);

List of all available currencies

  • AUD
  • BGN
  • BRL
  • CAD
  • CHF
  • CNY
  • CZK
  • DKK
  • EUR
  • GBP
  • HKD
  • HRK
  • HUF
  • IDR
  • ILS
  • INR
  • JPY
  • KRW
  • MXN
  • MYR
  • NOK
  • NZD
  • PHP
  • PLN
  • RON
  • RUB
  • SEK
  • SGD
  • THB
  • TRY
  • USD
  • ZAR
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.6 3,134 3/24/2017
1.0.5 798 3/24/2017
1.0.4 804 3/23/2017
1.0.3 968 11/13/2016
1.0.2 898 11/13/2016
1.0.1 795 11/12/2016
1.0.0 900 11/12/2016