Sha256: 4070e77aafa1f9daf1b0c1612fd30d7bfca55eeaed3ace40a285b77249cb3f1f

Contents?: true

Size: 534 Bytes

Versions: 1

Compression:

Stored size: 534 Bytes

Contents

# rsift

This is a Ruby client wrapper for the Datasift API. Right now, it just handles data, streams and comments.

Current Limitations

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

# To get started:

  stream = Rsift::Stream.new(api_url, api_key, username)
  
  json_response = @stream.do("my")

  comment = Rsift::Comment.new(api_url, api_key, username)

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

  json_response = comment.do("create", opts)

Check the tests for more usage examples.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rsift-0.3.2 README.md