Module | Twitter::Client::SuggestedUsers |
In: |
lib/twitter/client/suggested_users.rb
|
Defines methods related to users
Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user
@see dev.twitter.com/docs/api/1/get/users/suggestions/:slug/members @rate_limited Yes @requires_authentication No @param slug [String] The short name of list or a category. @param options [Hash] A customizable set of options. @return [Array<Twitter::User>] @example Return the users in the Art & Design category and their most recent status if they are not a protected user
Twitter.suggest_users("art-design")
@overload suggestions(options={})
Returns the list of suggested user categories @see https://dev.twitter.com/docs/api/1/get/users/suggestions @rate_limited Yes @requires_authentication No @param options [Hash] A customizable set of options. @return [Array<Twitter::Suggestion>] @example Return the list of suggested user categories Twitter.suggestions
@overload suggestions(slug, options={})
Returns the users in a given category @see https://dev.twitter.com/docs/api/1/get/users/suggestions/:slug @rate_limited Yes @requires_authentication No @param slug [String] The short name of list or a category. @param options [Hash] A customizable set of options. @return [Array<Twitter::Suggestion>] @example Return the users in the Art & Design category Twitter.suggestions("art-design")