= rubytter

http://github.com/jugyo/rubytter

== DESCRIPTION:

Rubytter is a simple twitter library.

== FEATURES:

* Supports OAuth

=== implemented API methods:

- /statuses/update
- /statuses/destroy/%s
- /statuses/public_timeline
- /statuses/home_timeline
- /statuses/friends_timeline
- /statuses/replies
- /statuses/mentions
- /statuses/user_timeline/%s
- /statuses/show/%s
- /statuses/friends/%s
- /statuses/followers/%s
- /statuses/retweet/%s
- /statuses/retweets/%s
- /statuses/retweeted_by_me
- /statuses/retweeted_to_me
- /statuses/retweets_of_me
- /users/show/%s
- /direct_messages
- /direct_messages/sent
- /direct_messages/new
- /direct_messages/destroy/%s
- /friendships/create/%s
- /friendships/destroy/%s
- /friendships/exists
- /followers/ids/%s
- /friends/ids/%s
- /favorites/%s
- /favorites/create/%s
- /favorites/destroy/%s
- /account/verify_credentials
- /account/end_session
- /account/update_delivery_device
- /account/update_profile_colors
- /account/rate_limit_status
- /account/update_profile
- /notifications/follow/%s
- /notifications/leave/%s
- /blocks/create/%s
- /blocks/destroy/%s
- /blocks/exists/%s
- /blocks/blocking
- /blocks/blocking/ids
- /saved_searches
- /saved_searches/show/%s
- /saved_searches/create
- /saved_searches/destroy/%s
- /%s/lists (create)
- /%s/lists/%s (update)
- /%s/lists/%s (delete)
- /%s/lists/%s
- /%s/lists
- /%s/lists/memberships
- /%s/lists/%s/statuses
- /%s/%s/members (create)
- /%s/%s/members (delete)
- /%s/%s/members
- /%s/%s/subscribers (create)
- /%s/%s/subscribers (delete)
- /%s/%s/subscribers
- (search.twitter.com)/search
- (api.twitter.com)/1/users/search

== SYNOPSIS:

=== initialize:

 client = Rubytter.new(user_id, password)

or

 client = OAuthRubytter.new(access_token)

It required a 'oauth' library.
You must specify valid instance of OAuth::AccessToken as acces_token.

=== update status:

 client.update('hello twitter!!')

=== get friends timeline:

 client.friends_timeline.each do |status|
   puts "#{status.user.screen_name}: #{status.text}"
 end

== REQUIREMENTS:

* json_pure

or

* json

== INSTALL:

 gem install rubytter

== LICENSE:

(The MIT License)

Copyright (c) 2008-2010 jugyo

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
