posterboard

Ruby API for reading posts from Posterous accounts.

How To

Install the gem

[sudo] gem install posterboard

Create a connection

connection = Posterboard::Connection.new('turkey2000', 'g0bbl3g0bbl3')

Get posts by site name

posts = connection.turkey_blog

Get the posts’ data…

posts.each do |post|
  title = post.title
  body = post.body
  date = post.date
end

…and do your thing!

Future features

Note

Since I am personally using this library to retrieve posts and display them on another site, I do not have any immediate plans to support posting to an account. I plan on using Posterous’ email API to do that. Someone is welcome to fork and add that feature.

Contributing to posterboard

Copyright © 2011 Waylon Calabrese. See LICENSE.txt for further details.