Giter Site home page Giter Site logo

clubhouse.io-ruby's Introduction

CircleCI

Clubhouse

This gem is a client library for the Clubhouse v1 API

If you don't know what Clubhouse is, I recommend you check it out, its an awesome project management system in its early days and can only get better.

Their API documentation is at the following address https://clubhouse.io/api/v1/ as you will need it for reference.

Installation

Add this line to your application's Gemfile:

gem 'clubhouse.io-ruby'

And then execute:

$ bundle

Or install it yourself as:

$ gem install clubhouse.io-ruby

Usage

Setting up a client

Before we start its best to setup a default client if you are just using it with only one token.

You can generate a token for clubhouse by going to the account section and generating a new token

Clubhouse.default_client = Clubhouse::Client.new('YOUR_TOKEN_HERE')

Now we are ready to start creating stories. In its basic form this is how you create a story

This will create a new story in the first project that is returned from the API in the all projects request.

story = Clubhouse::Story.new(name:'My Story', project_id: Clubhouse::Project.all.first.id)
story.save

You can check out all the other docs on other resources with examples here

Contributing

Bug reports and/or pull requests are welcome

License

The gem is available as open source under the terms of the MIT License

clubhouse.io-ruby's People

Contributors

jnormington avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.