https://github.com/jnunemaker/googlereader
[DEAD AND UNMAINTAINED] Wrapper for Google Reader's undocumented and possibly "unstable" API. By unstable, I mean if they haven't documented it, then they could change it at anytime without notice.
https://github.com/jnunemaker/googlereader
Last synced: about 1 year ago
JSON representation
[DEAD AND UNMAINTAINED] Wrapper for Google Reader's undocumented and possibly "unstable" API. By unstable, I mean if they haven't documented it, then they could change it at anytime without notice.
- Host: GitHub
- URL: https://github.com/jnunemaker/googlereader
- Owner: jnunemaker
- License: mit
- Created: 2008-02-14T02:46:49.000Z (about 18 years ago)
- Default Branch: master
- Last Pushed: 2013-06-05T20:49:03.000Z (almost 13 years ago)
- Last Synced: 2025-03-30T20:33:29.877Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 142 KB
- Stars: 28
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- Changelog: History.txt
- License: License.txt
Awesome Lists containing this project
README
DEAD AND UNMAINTAINED
= Installation
sudo gem install googlereader
= Usage
require 'google/reader'
Google::Reader::Base.establish_connection('username', 'password')
# => all feeds and labels unread counts
pp Google::Reader::Count.all
# => all unread counts for labels
pp Google::Reader::Count.labels
# => all unread counts for feeds
pp Google::Reader::Count.feeds
# => all items for a label
pp Google::Reader::Label.all
puts 'Links'
# 5 latest unread items
unread = Google::Reader::Label.new('links').entries(:unread, :n => 5)
unread.each { |p| puts p.title }
puts 'Using Continuation'
# next 5 latest items after the unread above
more_unread = Google::Reader::Label.new('links').entries(:unread, :n => 5, :c => unread.continuation)
more_unread.each { |p| puts p.title }
= Notes
I'm using the following links below as documentation (and also a bit of reverse engineering with Firebug) until google releases an official and documented api:
* http://code.google.com/p/pyrfeed/wiki/GoogleReaderAPI
* http://blog.gpowered.net/2007/08/google-reader-api-functions.html