Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 29 lines (21 sloc) 0.482 kB
#!/usr/bin/env ruby
require 'open-uri'
require 'json'
require 'time'
require 'cgi'
require 'pp'
class Illtra
def search(query)
t = Twitter.new(query)
g = GPlus.new(query)
data = g.search + t.search
File.open('./out.json', 'w') do |f|
f.puts data
end
end
end
%w[base gplus twitter config].each do |x|
require File.join(File.dirname(__FILE__), "#{x}.rb")
end
i = Illtra.new
i.search('sick OR ill OR "not feeling well" OR "not feeling good" :(')
Jump to Line
Something went wrong with that request. Please try again.