Fixerr 1.2.0

There is a newer version of this package available.
See the version list below for details.
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 Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
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.3.0 236 7/31/2023
1.2.0 358 11/12/2022
1.1.0 384 7/20/2022