Patrick Hochstenbach > Catmandu-Twitter-0.01 > Catmandu::Importer::Twitter

Download:
Catmandu-Twitter-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source   Latest Release: Catmandu-Twitter-0.03

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.

SEE ALSO ^

Catmandu::Iterable

syntax highlighting: