logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Finance::Quote::CurrencyRates::Fixer - Obtain currency rates from https://fixer.io

Api_Key

       https://fixer.io requires users to register and obtain an API key.

       The API key can be set by setting the Environment variable "FIXER_API_KEY" or providing a 'fixer' hash
       inside the 'currency_rates' hash to Finance::Quote->new as in the above example.

Description

       This module fetches currency rates from https://fixer.io and provides data to Finance::Quote to convert
       the first argument to the equivalent value in the currency indicated by the second argument.

       This module caches the currency rates for the lifetime of the quoter object, unless 'cache => 0' is
       included in the 'fixer' options hash.

Name

       Finance::Quote::CurrencyRates::Fixer - Obtain currency rates from https://fixer.io

Synopsis

           use Finance::Quote;

           $q = Finance::Quote->new(currency_rates => {order => ['Fixer'],
                                                       fixer => {API_KEY => ...}});

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

Terms & Conditions

       Use of https://fixer.io 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.

perl v5.40.1                                       2025-05-16             Finance::Quote:...ncyRates::Fixer(3pm)

See Also