Dave Cross: Still Munging Data With Perl: Online event - Mar 17 Learn more

NAME

AnyEvent::FriendFeed::Realtime - Subscribe to FriendFeed Real-time API

SYNOPSIS

my $client = AnyEvent::FriendFeed::Realtime->new(
username => $user, # optional
remote_key => $remote_key, # optional: https://friendfeed.com/account/api
request => "/feed/home", # or "/feed/NICKNAME/friends", "/search?q=friendfeed"
on_entry => sub {
my $entry = shift;
# See http://friendfeed.com/api/documentation for the data structure
},
);

DESCRIPTION

AnyEvent::FriendFeed::Realtime is an AnyEvent consumer that subscribes to FriendFeed Real-time API via JSON long-poll.

AUTHOR

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

AnyEvent::HTTP, AnyEvent::Twitter::Stream, http://friendfeed.com/api/documentation