Fixerr 1.2.0

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

// Install Fixerr as a Cake Tool
#tool nuget:?package=Fixerr&version=1.2.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 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);

Demo

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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.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.2.0 198 11/12/2022
1.1.0 233 7/20/2022