What have you found for these years?

2011-11-05

[ANN] rest-more 0.7.2.1 released

rest-more

by Cardinal Blue http://cardinalblue.com

DESCRIPTION:

Various REST clients such as Facebook and Twitter built with [rest-core][]

CHANGES:

rest-more 0.7.2.1 – 2011-11-05

Bugs fixes

  • [Facebook::RailsUtil] Fixed a missed change which should be made.

rest-more 0.7.2 – 2011-11-05

Incompatible changes

  • [Flurry] renamed api_key to apiKey to better match the original name from flurry. Also renamed access_code to apiAccessCode.
  • [Facebook::RailsUtil] Some module_functions are changed to controller’s private methods. You aren’t using it if you don’t know what does this mean.

Enhancement

  • Added rib-rest-core command line tool, extracted from rest-core.
  • [RailsUtilUtil] Introduced this to ease the pain writing RailsUtil for various clients.
  • [Bing] Added Bing client and its RailsUtil.
  • [Github] Added RailsUtil for Github client.
  • [Linkedin] Added RailsUtil for Linkedin client.
  • [Mixi] Added RailsUtil for Mixi client.
  • [Twitter] Added RailsUtil for Twitter client.

INSTALLATION:

gem install rest-more

Or if you want development version, put this in Gemfile:

gem 'rest-more', :git => 'git://github.com/cardinalblue/rest-more.git',
                 :submodules => true

SYNOPSIS:

require 'rest-more'

RestCore::Twitter.new.statuses('_cardinalblue') # get user tweets
RestCore::Github.new.get('users/cardinalblue')  # get user info

linkedin = RestCore::Linkedin.new(:consumer_key    => '...',
                                  :consumer_secret => '...')
linkedin.authorize_url!   # copy and paste the URL in browser to authorize
linkedin.authorize!('..') # paste your code from browser
linkedin.me               # get current user info

RestCore::Facebook.new.get('4') # get user info

See example for more complex examples.

0 retries:

Post a Comment

Note: Only a member of this blog may post a comment.



All texts are licensed under CC Attribution 3.0