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


AnyEvent-FriendFeed-Realtime documentation  | view source Contained in the AnyEvent-FriendFeed-Realtime distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  use AnyEvent::FriendFeed::Realtime;

  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

Top

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

AUTHOR

Top

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

LICENSE

Top

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

SEE ALSO

Top

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


AnyEvent-FriendFeed-Realtime documentation  | view source Contained in the AnyEvent-FriendFeed-Realtime distribution.