Readlists API for anonymous lists
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib/readlists
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE.txt
README.md
Rakefile
readlists-anonymous.gemspec

README.md

Readlists::Anonymous

Readlists API for anonymous lists.

Usage

Ruby

require 'readlists/anonymous'

readlists = Readlists::Anonymous.create
readlists.title = title
readlists.description = description

urls.each do |url|
  begin
    readlists << url
  rescue Readlists::Anonymous::RequestError => e
  end
end

puts "* Created anynymous readlists"
puts "share-url: #{readlists.share_url}"
puts "public-edit-url: #{readlists.public_edit_url}"

command-line

$ readlists-anonymous [-t title] [-d description] http://example.com/?url1 http://example.com/?url2 [more url...]

source: ./bin/readlists-anonymous

Installation

Or install it yourself as:

$ gem install readlists-anonymous