Catmandu::Importer::OAI - Package that imports OAI-PMH feeds
use Catmandu::Importer::OAI; my $importer = Catmandu::Importer::OAI->new(url => "...", set => "..." ); my $n = $importer->each(sub { my $hashref = $_[0]; # ... });
Create a new OAI-PMH importer for the URL. Optionally provide a set parameter with the OAI-PMH set you want to import.
Every Catmandu::Importer is a Catmandu::Iterable all its methods are inherited. The Catmandu::Importer::OAI methods are not idempotent: OAI-PMH feeds can only be read once.