3 :basic => "/search.json",
6 # Provides access to Twitter's Search API.
10 # iterator = @twitter.search(:q => "coworking")
11 # while (tweet = iterator.next)
15 # All options will be passed on to the Twitter.com Search REST API
16 def search(options = {})
17 uri = @@SEARCH_URIS[:basic]
18 response = search_oauth_connect(:get, uri, options)
19 json = JSON.parse(response.body)
20 bless_models(Twitter::Status.unmarshal(JSON.dump(json["results"])))