FixerIOCore 1.0.6

Suggested Alternatives

FixerSharp

dotnet add package FixerIOCore --version 1.0.6
NuGet\Install-Package FixerIOCore -Version 1.0.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#r "nuget: FixerIOCore, 1.0.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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

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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.6 is compatible.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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 4,077 3/24/2017
1.0.5 1,479 3/24/2017
1.0.4 1,550 3/23/2017
1.0.3 1,629 11/13/2016
1.0.2 1,497 11/13/2016
1.0.1 2,734 11/12/2016
1.0.0 2,699 11/12/2016