Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmaeda/tumblr4r
Tumblr API wrapper for Ruby
https://github.com/tmaeda/tumblr4r
Last synced: 3 months ago
JSON representation
Tumblr API wrapper for Ruby
- Host: GitHub
- URL: https://github.com/tmaeda/tumblr4r
- Owner: tmaeda
- Created: 2009-09-08T17:27:46.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2014-03-23T03:55:24.000Z (over 10 years ago)
- Last Synced: 2024-07-17T10:59:13.983Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 250 KB
- Stars: 16
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
Awesome Lists containing this project
README
= 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", "[email protected]", "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
Copyright:: Copyright (c) 2009 Tomoki MAEDA
License:: Ruby's license