Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/neiltron/choir.rb

Ruby wrapper for Choir.io's API
https://github.com/neiltron/choir.rb

Last synced: 14 days ago
JSON representation

Ruby wrapper for Choir.io's API

Awesome Lists containing this project

README

        

# Choir

Ruby API wrapper for Choir.io. Fetch stream and post events.

## Installation

Add this line to your application's Gemfile:

gem 'choir'

And then execute:

$ bundle

Or install it yourself as:

$ gem install choir

## Usage

require 'choir'

choir = Choir::API.new

choir.get_stream()
choir.post_event(, { sound: "g/1", label: "hello", text: "hello choir" })

## 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