Group
Extension

Matches 2

Net-Async-OpenExchRates ( V/VN/VNEALV/Net-Async-OpenExchRates-0.004.tar.gz, VNEALV, 2024; MetaCPAN )
Net-Async-OpenExchRates/lib/Net/Async/OpenExchRates.pod ( view source; MetaCPAN )
vious request invocation, it will check on the current resources C<update_frequency> from C<usage.json>
API call, if the C<Last-Modified> timestamp HTTP header that is attached with our existing respo
 await $exch->latest('USD', 'CAD', ['JPY']);

To request L<latest.json enpoint|https://docs.openexchangerates.org/reference/latest-json> from API.
It accepts a list, C<ARRAYref> or a mixture of both f
h->historical('2024-04-04', 'CAD');

To request L<historical/*.json endpoint|https://docs.openexchangerates.org/reference/historical-json> from API.
Used to retrieve old rates, takes multiple paramete
Net-Async-OpenExchRates ( V/VN/VNEALV/Net-Async-OpenExchRates-0.004.tar.gz, VNEALV, 2024; MetaCPAN )
Net-Async-OpenExchRates/lib/Net/Async/OpenExchRates.pm ( view source; MetaCPAN )
vious request invocation, it will check on the current resources C<update_frequency> from C<usage.json>
API call, if the C<Last-Modified> timestamp HTTP header that is attached with our existing respo
Try;
#use Syntax::Keyword::Dynamically;
use Log::Any qw($log);
use Net::Async::HTTP;
use URI;
use JSON::MaybeUTF8 qw(:v1);
use Digest::MD5 ();
use Time::Moment;
use feature qw(current_sub);

field $_a
   authorization => join(' ', 'Token', $_app_id),
                accept_encoding => 'application/json'
            },
        ));
}

async method $cache_get($key) {
    if ( $_use_cache ) {
        #

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.