Grapi : Ruby client to access the unofficial Google Reader API
Install
gem install grapi
Client Dependencies
- Curb (gem install curb)
Synopsis
require "rubygems" require "grapi" reader = Grapi::Reader.new reader.login USERNAME, PASSWORD puts reader.reading_list
API methods
Public API:
- initialize(verbose= false)
- login(USERNAME, PASSWORD)
- reading_list(:continuation => nil, :dump_data => false, :output => “atom/json”, :items => 1000, :lable => nil)
- subscribe(feed_url, label = test)
- unsubscribe(feed_url)
- mark_as_read( entry_google_ids ) # can pass an entry id or an array of entries id
Protected API:
- get(url)
- post(url, params={})
- post_with_token(url, params={})