View on GitHub

Gazouillis

Twitter stream client.

download .ZIPdownload .TGZ

Gazouillis aims to be a fast and reliable twitter stream client.

Status

Very early stage. Not ready for production.

Usage

require 'gazouillis'

class Tweets < Gazouillis::Stream
  def on_message(message)
    # Do something with streamed message
    #
    # Parse message, and outputs.
    #
    p MultiJson.decode message
  end
end

options = {
  oauth: {
    consumer_key:    "consumer_key",
    consumer_secret: "consumer_secret",
    token:           "token",
    token_secret:    "token_secret"
  }
}
Tweets.new('/1/statuses/sample.json', options).open!

Roadmap

0.2.0

0.3.0

Example