FixerIOCore 1.0.6

.NET Standard 1.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 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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.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 net481
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,275 3/24/2017
1.0.5 903 3/24/2017
1.0.4 909 3/23/2017
1.0.3 1,078 11/13/2016
1.0.2 1,004 11/13/2016
1.0.1 901 11/12/2016
1.0.0 1,016 11/12/2016