This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 4351abdc6efda3a3216251a6e531dbb1cefa0da4
tree 199c055d2daccd6c848c65d419d613d7edb4a044
parent 68506e5e21f25903534c8e7a5147a0bdc937901d
tree 199c055d2daccd6c848c65d419d613d7edb4a044
parent 68506e5e21f25903534c8e7a5147a0bdc937901d
README.md
Collecta.rb
A ruby library based on Blather for working with the Collecta XMPP api.
Install
Gem is hosted on Gemcutter
sudo gem install collecta-rb
Example
require 'rubygems'
require 'collecta-rb'
require 'pp'
client = Collecta::Client.setup '[api-key]'
client.subscribe('earthquake') do |result|
pp({
:query => result.query,
:title => result.title,
:category => result.category,
:abstract => result.abstract,
})
end
client.notifications('earthquake') do |notification|
pp notification
end
client.archive('earthquake') do |result|
pp result
end
EM.run { client.connect }
Copyright
Copyright (c) 2009 Jeff Smick. See LICENSE for details.








