Sha256: c36b0d50d807d0e13798cee6fe5ba8e32a894ddd588968ca74fa6b42e857bfe0
Contents?: true
Size: 336 Bytes
Versions: 5
Compression:
Stored size: 336 Bytes
Contents
# encoding: UTF-8 $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
5 entries across 5 versions & 2 rubygems