NAME

Finance::Quote::CurrencyRates::Frankfurter - Obtain currency rates from https://api.frankfurter.dev/v2/rate/

SYNOPSIS

use Finance::Quote;

$q = Finance::Quote->new(currency_rates => {order => ['Frankfurter']});

$value = $q->currency('18.99 EUR', 'USD');

DESCRIPTION

This module fetches currency rates from https://api.frankfurter.dev/v2/rate/... provides data to Finance::Quote to convert the first argument to the equivalent value in the currency indicated by the second argument.

This module is not the default currency conversion module for a Finance::Quote object. It can be utilized by setting the environment variable FQ_CURRENCY=Frankfurter.

API_KEY

Currently, https://api.frankfurter.dev/v2/rate/... does not require an API Key.

Terms & Conditions

Use of https://api.frankfurter.dev/v2/rate is governed by any terms & conditions of that site.

Finance::Quote is released under the GNU General Public License, version 2, which explicitly carries a "No Warranty" clause.