'0.06'; #VERSION
use Catmandu::Sane;
use Moo;
use URI::Template;
extends 'Catmandu::Importer::getJSON';
has api => (
is => 'ro',
default => sub { 'http://www.wikidata.org/w/api.php' }
);
URI::Template->new(
$_[0]->api
. '?action=wbgetentities&format=json{&ids}{&sites}{&titles}'
);
}
);
has '+from' => (
is => 'ro',
lazy => 1,
options (C<ids>, C<site>, and/pr C<title>) or as line-separated
input values. By default, the raw JSON structure of each Wikidata entity is
returned one by one. Entities not found are returned with th