Fixerr - An easy, minimal c# client for Fixer.io
Fixer is a popular freemium currency conversion site. Fixerr can help you to transform your currency more faster 😋
ApiKey
IsPaidSubscription
(If you bought the non free key and want to use https, you may want to set it to true)
var apiKey = "";
IFixerClient fixer = FixerFactory.CreateFixerClient(new HttpClient(), apiKey);
var latest = await fixer.GetFluctuationAsync("2012-05-01", "2012-05-25");
Console.WriteLine(latest?.Rates);
var apiKey = "";
builder.Services.AddFixer(apiKey);
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 😋
}
- 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!
- Latest Endpoint
- Symbol Endpoint
- Historic Endpoint
- Convert Endpoint
- TimeSeries Endpoint
- Fluctuation Endpoint