freecurrencyapi 1.0.0
dotnet add package freecurrencyapi --version 1.0.0
NuGet\Install-Package freecurrencyapi -Version 1.0.0
<PackageReference Include="freecurrencyapi" Version="1.0.0" />
paket add freecurrencyapi --version 1.0.0
#r "nuget: freecurrencyapi, 1.0.0"
// Install freecurrencyapi as a Cake Addin #addin nuget:?package=freecurrencyapi&version=1.0.0 // Install freecurrencyapi as a Cake Tool #tool nuget:?package=freecurrencyapi&version=1.0.0
freecurrencyapi-dotnet
freecurrencyapi-dotnet is the official C# package for freecurrencyapi.
Configuration
You will need your apikey to use fxapi, you can get one https://app.freecurrencyapi.com/register.
Create an instance and pass your api key like here:
var fx = new Freecurrencyapi("[YOUR_API_KEY]");
Usage & Endpoints
Use the instance to call the endpoints
Status
Returns your current quota
fx.Status()
Currencies
Returns all our supported currencies
fx.Currencies(currencies)
Parameter | Data type | Mandatory | Description |
---|---|---|---|
currencies | string | no | A list of comma seperated currency codes which you want to get (EUR,USD,CAD). By default all available currencies will be shown |
Latest Exchange Rates
Returns the latest exchange rates. The default base currency is USD.
fx.Latest(base_currency, currencies)
Parameter | Data type | Mandatory | Description |
---|---|---|---|
base_currency | string | no | By default all values are based on USD. By default all values are based on USD |
currencies | string | no | A list of comma seperated currency codes which you want to get (EUR,USD,CAD). By default all available currencies will be shown |
Historical Exchange Rates
Returns the latest exchange rates. The default base currency is USD.
fx.Historical(date, base_currency, currencies)
Parameter | Data type | Mandatory | Description |
---|---|---|---|
date | string | yes | Date to retrieve historical rates from (format: 2021-12-31) |
base_currency | string | no | By default all values are based on USD. By default all values are based on USD |
currencies | string | no | A list of comma seperated currency codes which you want to get (EUR,USD,CAD). By default all available currencies will be shown |
You can find further information on https://freecurrencyapi.com/docs/
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Bug reports and pull requests are welcome on GitHub at https://github.com/everapihq/freecurrencyapi. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the fxapi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
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.0 | 3,988 | 5/31/2023 |