Fixerr 1.1.0

.NET 6.0
NuGet\Install-Package Fixerr -Version 1.1.0
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.
dotnet add package Fixerr --version 1.1.0
<PackageReference Include="Fixerr" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fixerr --version 1.1.0
#r "nuget: Fixerr, 1.1.0"
#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 Fixerr as a Cake Addin
#addin nuget:?package=Fixerr&version=1.1.0

// Install Fixerr as a Cake Tool
#tool nuget:?package=Fixerr&version=1.1.0

Fixerr - An easy, minimal c# client for Fixer.io

Give it a star if you like the project. 👏 🌠 🌟

Fixer is a popular freemium currency conversion site. Fixerr can help you to transform your currency more faster 😋

Usage:

Required Properties:

  • ApiKey
  • IsPaidSubscription (If you bought the non free key and want to use https, you may want to set it to true)

With out any dependency injection


var apiKey = "";
IFixerClient fixer = FixerFactory.CreateFixerClient(new HttpClient(), apiKey);
var latest = await fixer.GetFluctuationAsync("2012-05-01", "2012-05-25");
Console.WriteLine(latest?.Rates);

With Microsoft DI

var apiKey = "";
builder.Services.AddFixer(apiKey);

If you chose to go with DI approach then after service registration, you will get a IFixerClient that you can access all your requested method.

private readonly IFixerClient _fixerClient;

public YourFunction(IFixerClient fixerClient) => _fixerClient = fixerClient;

public void CallMethod() {
    var latest = await _fixerClient.GetFluctuationAsync("2012-05-01", "2012-05-25");
    // now do whatever 😋
}

F.A.Q:

  • There is also a optional apiKey parameter is added to every method if you need to access different method with different api key. 🎉
  • If anything happens make sure to report using the github issues. Thanks!

Api Cover

  • Latest Endpoint
  • Symbol Endpoint
  • Historic Endpoint
  • Convert Endpoint
  • TimeSeries Endpoint
  • Fluctuation Endpoint
Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
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.1.0 68 7/20/2022