require 'net/http' require 'open-uri' require 'cgi' require 'xmlsimple' class Tumblr def initialize(email=nil, password=nil) Net::HTTP.version_1_2 @email = email @password = password end def to_query_parameter(hash) hash.map{|i| i.map{|j| CGI.escape j.to_s}.join('=') }.join('&') end def method_missing(method_id, *params) params[0][:type] = method_id.to_s params[0][:email] = @email if @email params
Tumblr APIWelcome to the Tumblr API! There isn't anything we enjoy more than seeing talented designers and engineers using Tumblr to invent whole new forms of creative expression. We've put a tremendous amount of care into making this API functional and flexible enough for any projects you throw at it. Drop a line in the GitHub Issues if you have ideas for what could be better, or want to discuss
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く