Tatsuhiko Miyagawa > AnyEvent-FriendFeed-Realtime > AnyEvent::FriendFeed::Realtime

Download:
AnyEvent-FriendFeed-Realtime-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.05   Source  

NAME ^

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

SYNOPSIS ^

  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 ^

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

syntax highlighting: