Ruby gem to access Teambox API
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 26 commits behind redbooth:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
lib
History
License
Notes.md
README.md
Rakefile
TODO.example.rb
VERSION
teambox-client.gemspec

README.md

This is a Ruby wrapper for Teambox API.

Largely inspired by @jnunemaker's Twitter gem. This is currently in development, and is missing many methods.

Get started

First, install the teambox-client gem:

gem install teambox-client

Now, run irb -rubygems and this snippet to get the list of activities:

require 'teambox-client'
httpauth = Teambox::HTTPAuth.new(your_username, your_password)
client = Teambox::Base.new(httpauth)
puts client.activities

By default, teambox-client will connect to the hosted service at teambox.com, optionally you can:

Teambox::HTTPAuth.new(your_username, your_password, :api_endpoint => 'localhost:3000')

Examples

First, create a file on $HOME/.teambox with these values:

username: your_teambox_username_or_email
password: password

See the examples directory.