What have you found for these years?

2011-10-08

[ANN] rest-more 0.7.0 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.0 – 2011-10-08

  • Extracted from rest-core 0.4.0
  • [Facebook] Added RC::Facebook#parse_fbsr! which can parse Facebook’s new cookie. Also, RC::Facebook#parse_cookies! would look for that too.
  • [Facebook] Fixed that parsing an invalid signed_request would raise an error. From now on it would simply ignore it and wipe out the data.
  • [Flurry] Some minor updates.

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