fixer_sdk

Last updated:

0 purchases

fixer_sdk Image
fixer_sdk Images
Add to Cart

Description:

fixer sdk

Fixer Unofficial SDK #
Get currency rates and convert currencies
Hecho en 🇵🇷 por Radamés J. Valentín Reyes
Get API key #
Subscribe and get an API key from here
Import #
import 'package:fixer_sdk/fixer_sdk.dart';
copied to clipboard
Examples #
Get latest rates #
ExchangeRates rates = await FixerSDK(
apikey: apikey,
).getLatestRates();
copied to clipboard
Convert currencies #
ExchangeRates rates = await FixerSDK(
apikey: apikey,
).getLatestRates();
Currency converted = FixerSDK.equivalentIn(
fromCurrency: Currency(
amount: 15,
currencyCode: "USD",
),
toCurrency: "CAD",
rates: rates,
);
print("15 USD = ${converted.amount} CAD");
copied to clipboard
References #

https://apilayer.com/marketplace/fixer-api#documentation-tab

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.