Group
Extension

Matches 1

Catmandu-Importer-OpenAIRE ( H/HO/HOCHSTEN/Catmandu-Importer-OpenAIRE-0.02.tar.gz, HOCHSTEN, 2023; MetaCPAN )
Catmandu-Importer-OpenAIRE/lib/Catmandu/Importer/OpenAIRE.pm ( view source; MetaCPAN )
AIRE;

use LWP::Simple;
use Catmandu::Sane;
use Catmandu::Util qw(:is);
use Any::URI::Escape;
use JSON;
use Moo;
use feature 'state';

our $VERSION = '0.02';

our @BASE_PARAM = qw(size sortBy hasECFun
rds);
    };
}

sub fetchRecords {
    my ($self,$page) = @_;

    my @params = (
        "format=json",
        "page=$page"
    );

    for my $param (@BASE_PARAM) {
        if (defined $self->{$par
$self->url , join("&",@params);

    my $result;

    eval {
        my $json = get($url);
        my $data = decode_json($json);

        if ($data && 
                $data->{response} && 
         

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