Sha256: f705513c1c48343781c518ec0d0ecf2bb633941c13cffa4fe1a543046be3e1c0
Contents?: true
Size: 389 Bytes
Versions: 13
Compression:
Stored size: 389 Bytes
Contents
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../..') $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../../lib') require 'yajl/http_stream' require 'uri' unless keywords = ARGV[0] puts "\nUsage: ruby examples/http/twitter_search_api.rb keyword\n\n" exit(0) end puts Yajl::HttpStream.get("http://search.twitter.com/search.json?q=#{keywords}").inspect
Version data entries
13 entries across 13 versions & 4 rubygems