Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Google Reader API PHP class
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
www
.gitignore
README

README

PHP class for work with Google Reader API

It works with your feeds in your account in google reader. You can use it for getting and management you feeds

Notice! It uses unofficial Reader API, because official API doesn`t exists


see
http://code.google.com/p/pyrfeed/wiki/GoogleReaderAPI
http://www.niallkennedy.com/blog/2005/12/google-reader-api.html


Example:

$google_reader = new GoogleReaderAPI( 'your@email.com', 'your_password' );

//get first 20 unread items from your reader
$unread_items = $google_reader ->get_unread(20);

foreach( $unread_items -> items as $item ){
  //set mark "read"
  $google_reader -> set_state( $item -> id, 'read' );
}

You can find more functions in GoogleReaderAPI class
Something went wrong with that request. Please try again.