public interface TrendsMethods
| Modifier and Type | Method and Description |
|---|---|
ResponseList<Trends> |
getDailyTrends()
Returns the top 20 trending topics for each hour in a given day.
|
ResponseList<Trends> |
getDailyTrends(java.util.Date date,
boolean excludeHashTags)
Returns the top 20 trending topics for each hour in a given day.
|
ResponseList<Trends> |
getWeeklyTrends()
Returns the top 30 trending topics for each day in a given week.
|
ResponseList<Trends> |
getWeeklyTrends(java.util.Date date,
boolean excludeHashTags)
Returns the top 30 trending topics for each day in a given week.
|
ResponseList<Trends> getDailyTrends() throws TwitterException
TwitterException - when Twitter service or network is unavailableResponseList<Trends> getDailyTrends(java.util.Date date, boolean excludeHashTags) throws TwitterException
date - Permits specifying a start date for the report.excludeHashTags - Setting this to true will remove all hashtags from the trends list.TwitterException - when Twitter service or network is unavailableResponseList<Trends> getWeeklyTrends() throws TwitterException
TwitterException - when Twitter service or network is unavailableResponseList<Trends> getWeeklyTrends(java.util.Date date, boolean excludeHashTags) throws TwitterException
date - Permits specifying a start date for the report.excludeHashTags - Setting this to true will remove all hashtags from the trends list.TwitterException - when Twitter service or network is unavailable