Skip to content

lminaudier/trajectory

Repository files navigation

Trajectory API Ruby Wrapper

Build Status Code Climate Dependency Status Coverage Status

This gem is a wrapper to the Thoughbot's Trajectory app API (apptrajectory.com).

This is work in progress but at the moment, you'll have read access to

The wrapper propose some handy methods on collections of projects, stories, iterations and ideas.

Comments and Uploads wrappers are not yet implemented. Wrapper for write access is not provided at the moment.

If you have questions, you can submit an issue or ping me on twitter @lminaudier.

Installation

Add this line to your application's Gemfile:

gem 'trajectory'

And then execute:

$ bundle

Or install it yourself as:

$ gem install trajectory

Usage

Read Access

Authentication

By default, the wrapper will look for the Trajectory API key in TRAJECTORY_API_KEY environment variable and for the account keyword in TRAJECTORY_ACCOUNT_KEYWORD.

require 'trajectory'

client = Trajectory::Client.new
client.projects

API

See RDoc for api details

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

About

Ruby Wrapper for Thoughbot Trajectory App API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages