WebService::Google::Reader - Perl interface for Google Reader
use WebService::Google::Reader; my $reader = WebService::Google::Reader->new( username => $user, password => $pass, ); my $feed = $reader->feed( state => 'reading-list', count => 100); my @entries = $feed->entries; # Fetch past entries. while ( $reader->feed( $feed ) ) { my @entries = $feed->entries; }
The WebService::Google::Reader module provides an interface to the Google Reader service through the unofficial (as-yet unpublished) API.
WebService::Google::Reader
Note, this is an alpha version.
Creates a new WebService::Google::Reader object. The constructor accepts the following named parameters:
Required for accessing any personalized or account-related functionality (reading-list, editing, etc.).
Use https scheme for all requests, even when not required.
An optional useragent object.
Edit subscriptions or labels. Returns true on success, false on failure. Accepts the following named parameters:
Returns a subclass of XML::Atom::Feed. Accepts the following named parameters:
One (and only one) of these fields must be present.
The URL to a RSS / ATOM feed.
One of ( read, kept-unread, fresh, starred, broadcast, reading-list, tracking-body-link-used, tracking-emailed, tracking-item-link-used, tracking-kept-unread ).
A label / tag name.
The number of entries the feed will contain.
The sort order of the entries: desc (default) or asc. When ordering by asc, Google only returns items within 30 days, whereas the default order has no limitation.
Request entries only newer than this time (represented as a unix timestamp).
Returns the error, if one occurred.
http://code.google.com/p/pyrfeed/wiki/GoogleReaderAPI
Please report any bugs or feature requests to http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-Google-Reader. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc WebService::Google::Reader
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WebService-Google-Reader
CPAN Ratings
http://cpanratings.perl.org/d/WebService-Google-Reader
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WebService-Google-Reader
Search CPAN
http://search.cpan.org/dist/WebService-Google-Reader
Copyright (C) 2007 gray <gray at cpan.org>, all rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
gray, <gray at cpan.org>
To install WebService::Google::Reader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Google::Reader
CPAN shell
perl -MCPAN -e shell install WebService::Google::Reader
For more information on module installation, please visit the detailed CPAN module installation guide.