Module | Twitter::Client::Search |
In: |
lib/twitter/client/search.rb
|
Returns recent statuses that contain images related to a query
@note Undocumented @rate_limited Yes @requires_authentication No @response_format `json` @response_format `xml` @param q [String] A search term. @param options [Hash] A customizable set of options. @option options [Integer] :count Specifies the number of records to retrieve. Must be less than or equal to 100. @option options [Boolean, String, Integer] :include_entities Include {dev.twitter.com/pages/tweet_entities Tweet Entities} when set to true, ‘t’ or 1. @return [Array] An array of statuses that contain images @example Return recent statuses that contain images related to a query
Twitter.images('twitter')
Returns recent statuses related to a query with images and videos embedded
@note Undocumented @rate_limited Yes @requires_authentication No @response_format `json` @response_format `xml` @param q [String] A search term. @param options [Hash] A customizable set of options. @option options [Integer] :count Specifies the number of records to retrieve. Must be less than or equal to 100. @option options [Boolean, String, Integer] :include_entities Include {dev.twitter.com/pages/tweet_entities Tweet Entities} when set to true, ‘t’ or 1. @option options [Integer] :since_id Returns results with an ID greater than (that is, more recent than) the specified ID. @return [Array] An array of statuses that contain videos @example Return recent statuses related to twitter with images and videos embedded
Twitter.search('twitter')
Returns recent statuses that contain videos related to a query
@note Undocumented @rate_limited Yes @requires_authentication No @response_format `json` @response_format `xml` @param q [String] A search term. @param options [Hash] A customizable set of options. @option options [Integer] :count Specifies the number of records to retrieve. Must be less than or equal to 100. @option options [Boolean, String, Integer] :include_entities Include {dev.twitter.com/pages/tweet_entities Tweet Entities} when set to true, ‘t’ or 1. @return [Array] An array of statuses that contain videos @example Return recent statuses that contain videos related to a query
Twitter.videos('twitter')