Data Collector Stream Connection
The following snippets are examples of establishing a streaming connection to Gnip Data Collector. You may use them as a starting point, building them out to incorporate the other functionality that is important to your app.
The following utilities are not built or maintained by Gnip, but may provide a jumping-off point for your app.
Ruby script for streaming data from a single Gnip EDC data feed. Streaming based on Curl::Easy gem.
Ruby script for streaming data from multiple Gnip EDC data feeds. Streaming based on https://github.com/rweald/gnip-stream (eventmachine)