ActiveCollab API Client
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
.rvmrc
Gemfile
LICENSE.txt
README.md
Rakefile
active_collab.gemspec

README.md

ActiveCollab

Ruby client for the active collab 3 Api.
This is a work in progress on it's early development.

Installation

Add this line to your application's Gemfile:

gem 'active_collab'

And then execute:

$ bundle

Or install it yourself as:

$ gem install active_collab

Usage

require 'active_collab'

#create a client
url = "http://myactivecollabinstance.com/api.php"
api_key = MY_API_KEY
client = ActiveCollab::Client.new(url,api_key)

#listing projects
projects = client.projects

#listing tasks for project_id = 1
tasks = client.tasks(1)

#listing categories for project_id = 1
tasks = client.categories(1)

#creating a tsk for project_id = 1
task = client.add_task(1, {"name": "New task", "body": "New task description."})

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request