NAME
Datahub::Factory::Importer - Namespace for importer packages
SYNOPSIS
use Datahub::Factory;
use Data::Dumper qw(Dumper);
my $importer_options = {
endpoint => 'https://my.oai.org/oai'
};
my $importer = Datahub::Factory->importer('OAI')->new($importer_options);
$importer->importer->each({
my $item = shift;
print Dumper($item);
});
DESCRIPTION
A Datahub::Factory::Importer is a package that is used as a role for packages that import records. It enforces a generic reusable interface so different packages can be loaded and executed programmatically.
AUTHORS
Pieter De Praetere <pieter@packed.be>
Matthias Vandermaesen <matthias.vandermaesen@vlaamsekunstcollectie.be>
COPYRIGHT
Copyright 2017 - PACKED vzw, Vlaamse Kunstcollectie vzw
LICENSE
This library is free software; you can redistribute it and/or modify it under the terms of the GPLv3.