twitter4j.api
Interface TrendsMethodsAsync

All Known Subinterfaces:
AsyncTwitter

public interface TrendsMethodsAsync

Since:
Twitter4J 2.1.3
Author:
Yusuke Yamamoto - yusuke at mac.com

Method Summary
 void getDailyTrends()
          Returns the top 20 trending topics for each hour in a given day.
 void getDailyTrends(Date date, boolean excludeHashTags)
          Returns the top 20 trending topics for each hour in a given day.
 void getWeeklyTrends()
          Returns the top 30 trending topics for each day in a given week.
 void getWeeklyTrends(Date date, boolean excludeHashTags)
          Returns the top 30 trending topics for each day in a given week.
 

Method Detail

getDailyTrends

void getDailyTrends()
Returns the top 20 trending topics for each hour in a given day.
This method calls http://search.twitter.com/trends/daily.json

Since:
Twitter4J 2.0.2
See Also:
GET trends/daily | Twitter Developers

getDailyTrends

void getDailyTrends(Date date,
                    boolean excludeHashTags)
Returns the top 20 trending topics for each hour in a given day.
This method calls http://search.twitter.com/trends/daily.json

Parameters:
date - Permits specifying a start date for the report.
excludeHashTags - Setting this to true will remove all hashtags from the trends list.
Since:
Twitter4J 2.0.2
See Also:
GET trends/daily | Twitter Developers

getWeeklyTrends

void getWeeklyTrends()
Returns the top 30 trending topics for each day in a given week.
This method calls http://search.twitter.com/trends/weekly.json

Since:
Twitter4J 2.0.2
See Also:
GET trends/weekly | Twitter Developers

getWeeklyTrends

void getWeeklyTrends(Date date,
                     boolean excludeHashTags)
Returns the top 30 trending topics for each day in a given week.
This method calls http://search.twitter.com/trends/weekly.json

Parameters:
date - Permits specifying a start date for the report.
excludeHashTags - Setting this to true will remove all hashtags from the trends list.
Since:
Twitter4J 2.0.2
See Also:
GET trends/weekly | Twitter Developers


Copyright © 2011. All Rights Reserved.