1Finance::Quote::CurrencUysRearteCso:n:tFriixbeurt(e3d)PFeirnlanDcoec:u:mQeunottaet:i:oCnurrencyRates::Fixer(3)
2
3
4
6 Finance::Quote::CurrencyRates::Fixer - Obtain currency rates from
7 https://fixer.io
8
10 use Finance::Quote;
11
12 $q = Finance::Quote->new(currency_rates => {order => ['Fixer'],
13 fixer => {API_KEY => ...}});
14
15 $value = $q->currency('18.99 EUR', 'USD');
16
18 This module fetches currency rates from https://fixer.io and provides
19 data to Finance::Quote to convert the first argument to the equivalent
20 value in the currency indicated by the second argument.
21
22 This module caches the currency rates for the lifetime of the quoter
23 object, unless 'cache => 0' is included in the 'fixer' options hash.
24
26 https://fixer.io requires users to register and obtain an API key.
27
28 The API key must be set by providing a 'fixer' hash inside the
29 'currency_rates' hash to Finance::Quote->new as in the above example.
30
32 Use of https://fixer.io is governed by any terms & conditions of that
33 site.
34
35 Finance::Quote is released under the GNU General Public License,
36 version 2, which explicitly carries a "No Warranty" clause.
37
38
39
40perl v5.34.1 2022-0F7i-n0a4nce::Quote::CurrencyRates::Fixer(3)