public interface LocalTrendsMethods
| Modifier and Type | Method and Description |
|---|---|
ResponseList<Location> |
getAvailableTrends()
Returns the locations that Twitter has trending topic information for.
|
ResponseList<Location> |
getAvailableTrends(GeoLocation location)
Returns the sorted locations that Twitter has trending topic information for.
|
Trends |
getLocationTrends(int woeid)
Returns the top 10 trending topics for a specific location Twitter has trending topic information for.
|
ResponseList<Location> getAvailableTrends() throws TwitterException
TwitterException - when Twitter service or network is unavailableResponseList<Location> getAvailableTrends(GeoLocation location) throws TwitterException
location - the available trend locations will be sorted by distance to the lat and long passed in. The sort is nearest to furthest.TwitterException - when Twitter service or network is unavailableTrends getLocationTrends(int woeid) throws TwitterException
woeid - The WOEID of the location to be querying forTwitterException - when Twitter service or network is unavailable