Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Ruby wrapper for the Datasift API

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 config
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Rakefile
Octocat-spinner-32 rsift.gemspec


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.