tumblr-oauth
Tumblr ruby gem with OAuth support.
It's very raw and unstable version.
Install
From Rubygems (may not be up-to-date):
gem install 'tumblr-oauth'
Usage
TumblrOAuth.configure do |config|
config.consumer_key = 'consumer_key'
config.consumer_secret = 'consumer_secret'
end
tumblr_client = TumblrOAuth::Client(
:oauth_token => 'oauth_token',
:oauth_token_secret => 'oauth_secret',
:blog_host => 'blog_host_name'
)
tumblr_client.user_info
tumblr_client.primary_blog
Copyright
Copyright (c) 2011 Ildar Shaynurov. See LICENSE.txt for
further details.