コード例 #1
0
        /// <summary>
        /// Gets the trends with the specified WOEID.
        /// </summary>
        /// <param name="tokens">The request tokens.</param>
        /// <param name="WoeID">The WOEID.</param>
        /// <param name="options">The options.</param>
        /// <returns>
        /// A collection of <see cref="Twitterizer.TwitterTrend"/> objects.
        /// </returns>
        public static TwitterResponse<TwitterTrendCollection> Trends(OAuthTokens tokens, int WoeID, LocalTrendsOptions options)
        {
            Commands.TrendsCommand command = new Twitterizer.Commands.TrendsCommand(tokens, WoeID, options);

            return Core.CommandPerformer.PerformAction(command);
        }
コード例 #2
0
        /// <summary>
        /// Gets the trends with the specified WOEID.
        /// </summary>
        /// <param name="tokens">The request tokens.</param>
        /// <param name="WoeID">The WOEID.</param>
        /// <param name="options">The options.</param>
        /// <returns>
        /// A collection of <see cref="Twitterizer.TwitterTrend"/> objects.
        /// </returns>
        public static TwitterResponse <TwitterTrendCollection> Trends(OAuthTokens tokens, int WoeID, LocalTrendsOptions options)
        {
            Commands.TrendsCommand command = new Twitterizer.Commands.TrendsCommand(tokens, WoeID, options);

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