This is a thin wrapper of Read It Later Text API.
At first, you should get your API key.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install ril_text
require 'ril_text' RilText.get('http://readitlaterlist.com/api/docs')
will return a hash. The hash contains following fields.
text: Extracted body of the document.
title: Title of the document.
resolved: Resolved URL. RIL Text API follows redirect chain until it gets 200.
image: Favicon of the document.
RilText.configure before use.
RilText.configure do |c| c.apikey = 'yourapikey' c.images = 1 c.mode = 'more' end
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request