Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tumblr article read api
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README
tumblr_api.gemspecs
tumblr_api.rb

README

require 'tumblr_api'

url = 'http://thoughtbot.tumblr.com'
tumblr = Tumblr.new(url)
articles = tumblr.articles
total = tumblr.total

puts tumblr.id
puts tumblr.title

puts articles[total].url
puts articles[total].content
Something went wrong with that request. Please try again.