gem install grapi
- Curb (gem install curb)
require "rubygems" require "grapi" reader = Grapi::Reader.new reader.login USERNAME, PASSWORD puts reader.reading_list
Public API:
- initialize(verbose= false)
- login(USERNAME, PASSWORD)
- reading_list(:continuation => nil, :dump_data => false, :output => “atom/json”)
- 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={})