TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'diffbot_api', git: '[email protected]:mahmoud-abdelaziz/diffbot_api.git'
And then execute:
$ bundle
Or install it yourself as:
$ gem install diffbot_api
First you need a token, enter it:
DiffbotApi::Session.token = "94be0d8208f085ad6207d949f183728c"
And to fetch an article:
DiffbotApi::Article.fetch(:url => "http://ruby.railstutorial.org/ruby-on-rails-tutorial-book")
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request