Exemplo n.º 1
0
        /// <summary>
        /// Gets the locations where trends are available.
        /// </summary>   
        /// <param name="tokens">The request tokens.</param>
        /// <param name="options">The options.</param>
        /// <returns>
        /// A collection of <see cref="Twitterizer.TwitterTrendLocation"/> objects.
        /// </returns>
        public static TwitterResponse<TwitterTrendLocationCollection> Available(OAuthTokens tokens, AvailableTrendsOptions options)
        {
            Commands.AvailableTrendsCommand command = new Twitterizer.Commands.AvailableTrendsCommand(tokens, options);

            return Core.CommandPerformer.PerformAction(command);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Gets the locations where trends are available.
        /// </summary>
        /// <param name="tokens">The request tokens.</param>
        /// <param name="options">The options.</param>
        /// <returns>
        /// A collection of <see cref="Twitterizer.TwitterTrendLocation"/> objects.
        /// </returns>
        public static TwitterResponse <TwitterTrendLocationCollection> Available(OAuthTokens tokens, AvailableTrendsOptions options)
        {
            Commands.AvailableTrendsCommand command = new Twitterizer.Commands.AvailableTrendsCommand(tokens, options);

            return(Core.CommandPerformer.PerformAction(command));
        }