NAME
Catmandu::Importer::Twitter - Package that imports Twitter feeds
SYNOPSIS
use Catmandu::Importer::Twitter;
my $importer = Catmandu::Importer::Twitter->new(query => '#elag2013' );
my $n = $importer->each(sub {
my $hashref = $_[0];
# ...
});
METHODS
new(query => '...')
Create a new Twitter importer using a query as input.
count
each(&callback)
...
Every Catmandu::Importer is a Catmandu::Iterable all its methods are inherited. The Catmandu::Importer::Twitter methods are not idempotent: Twitter feeds can only be read once.