Skip to content
A Ruby wrapper for the Datasift API
Latest commit 4ae4ac3 Apr 8, 2011 @sshingler Bumping gem version.
Failed to load latest commit information.
Gemfile Adding gemspec Dec 23, 2010
Gemfile.lock Updating README, including mention of websockets api. Dec 28, 2010


This is a Ruby client wrapper for the Datasift API. Right now, it just handles data, streams and comments. There's also a class to handle receiving data from Datasift using their websockets implementation.

Current Limitations

  • All calls require credentials to be passed in
  • All responses are in JSON

To get started:

stream =, api_key, username)

json_response ="my")

comment =, api_key, username)

opts = {:stream_id => "1", :comment => "test comment"}

json_response ="create", opts)

The websockets API can be used like this:

Rsift::Socket.perform(stream_identifier) do |tweet| puts tweet end

Check the tests for more usage examples.

Something went wrong with that request. Please try again.