RAA - twitter4r

twitter4r / 0.2.0

Short description: Pure Ruby client API for the Twitter REST API
Category: Library/WWW
Status: Production
Created: 2007-06-20 14:05:34 GMT
Last update: 2007-07-09 04:32:31 GMT
Owner: Susan Potter (Projects of this owner)
Homepage: http://twitter4r.rubyforge.org
Download: http://rubyforge.org/frs/?group_id=3293
License: BSD-type
Dependency:
Requires: JSON/0.4.3(*) JSON gem
Requires: RSpec/1.0.0 RSpec gem
(*): newer version exists
Description:

Twitter4R

Developers

Contributors

  • Kaiichi Matsunaga <ma2 at lifemedia dot co dot jp>

Description

Twitter4R v0.2.0 now provides 100% Twitter REST API coverage for Ruby. This library is more complete and more in the Ruby style of coding than "Twitter Gem" project. The latter seems to provide a convenient command-line tool for very basic Twitter REST API usages.

Quick Start

 $ sudo gem install twitter4r
 $ irb
 irb> gem('twitter4r', '>=0.2.0')
 irb> require('twitter')
 irb> client = Twitter::Client.new
 irb> timeline = client.timeline_for(:public) do |status|
 irb>   puts "#{status.user.screen_name}: #{status.text}"
 irb> end

External Dependencies

  • Ruby 1.8 (tested with 1.8.5)
  • RSpec gem 1.0.0+ (tested with 1.0.4)
  • JSON gem 0.4.3+ (tested with versions: 0.4.3, and 0.1.1)
  • jcode (for unicode support)

Usage Examples

Twitter4R starting with version 0.2.0 and above is organized into seven parts:

Versions: [0.2.0 (2007-07-09)] [0.1.0 (2007-06-20)]

Edit this project (for project owner)

back to RAA top