Sha256: e05752ad1f8b901b0824639efb005e023aca1f47355a74e0b437d1b6b1846afe

Contents?: true

Size: 1021 Bytes

Versions: 5

Compression:

Stored size: 1021 Bytes

Contents

= tumblr4r

* http://github.com/tmaeda/tumblr4r

== Description

Tumblr API wrapper for Ruby.

== Synopsis

Finding by conditions.
  require 'rubygems'
  require 'tumblr4r'

  site_a = Tumblr4r::Site.new("site_a.tumblr.com")
  posts = site_a.find(:all)
  quote_posts = site_a.find(:all, :type => "quote")
  posts_offset_and_limit = site_a.find(:all, :offset => 50, :limit => 20)
  quote_search = site_a.find(:all, :type => "quote", :search => "foo")
  quote_tagged = site_a.find(:all, :type => "quote", :tagged => "bar")

Finding by id.
  post = site_a.find(12345678)

Posting.
  site_b = Tumblr4r::Site.new("site_b.tumblr.com", "foo@example.com", "password")
  site_b.save(post[0])

Deleting.
  site_b.delete(post[0].post_id)

== Installation

  gem install tumblr4r

== Problems

* Can't get private posts yet.
* Can't upload audio and video data yet.
* Can't handle feeds yet.


== Copyright

Author::    Tomoki MAEDA <http://twitter.com/tmaeda>
Copyright:: Copyright (c) 2009 Tomoki MAEDA
License::   Ruby's license

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tumblr4r-0.8.1 README
tumblr4r-0.8.0 README
tumblr4r-0.7.2 README
tumblr4r-0.7.1 README
tumblr4r-0.7.0 README