full => 1, # return all available information
);
Returns a hashref directly from the JSON response of the xsearch API
described at L<http://librishelp.libris.kb.se/help/xsearch_eng.jsp?op
> 200, # max. number of results
start => 1 + 200 * ($page - 1),
format => 'json',
);
$q{format_level} = 'full' if $opts{full};
my $url = Mojo::URL->new('http://libri
;
$res->json;
}
sub search {
my ($self, %opts) = @_;
my $json = $self->direct_search(%opts);
my @ids = map { (split '/', $_->{identifier})[-1] }
@{ $json->{xsearch}