Skip to content
This repository has been archived by the owner on Jan 30, 2018. It is now read-only.

redbooth/teambox-ruby-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

teambox-ruby is a Ruby wrapper for Teambox ( www.teambox.com ) API.

  • Wraps the API in a client object with resources

  • Inspired by the philosophy of KISS, minimal spaghetti

Check out the API docs at www.teambox.com/api for more details on the Teambox API.

Getting 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'
client = Teambox::Client.new(:auth => {:username => 'frank', :password => 'papapa'})
puts client.activities

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

client = Teambox::Client.new(:base_uri => 'http://teambox.mysite.com/api/1', :auth => {:username => 'frank', :password => 'papapa'})

Examples

See the examples directory.