Skip to content

jnak/tumblr-oauth

This branch is 11 commits ahead of shir/tumblr-oauth:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

89d1930 · Oct 23, 2011

History

35 Commits
Oct 23, 2011
Jul 24, 2011
Jul 16, 2011
Jul 16, 2011
Jul 16, 2011
Aug 21, 2011
Aug 21, 2011
Jul 23, 2011
Jul 16, 2011
Aug 21, 2011
Aug 21, 2011
Aug 21, 2011

Repository files navigation

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

# Setting up a client
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' # For example "test.tumblr.com"
)

# Getting user info
tumblr_client.user_info 

# Getting user primary blog host name:
tumblr_client.primary_blog

Copyright

Copyright (c) 2011 Ildar Shaynurov. See LICENSE.txt for further details.

About

Tumblr ruby gem with OAuth support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%