The Forrst API is currently a moving target and the plan is to develop Spruce alongside it, as close as possible.

Installation

gem install spruce

Example usage

require 'rubygems'
require 'forrst' # or require 'spruce'

# Retrieve a user by username
kyle = Forrst::User.find 'kyle'

# Kyles latest PUBLIC posts
kyle.public_posts

# The type of Kyles latest PUBLIC post
kyle.public_posts[0].post_type

# Retrieve a user by id
peter = Forrst::User.find 5079
Fork me on GitHub