winterwell.jtwitter
Class Twitter_Geo

java.lang.Object
  extended by winterwell.jtwitter.Twitter_Geo

public class Twitter_Geo
extends java.lang.Object

Twitter's geolocation support. Use Twitter.geo() to get one of these objects.

Conceptually, this is an extension of Twitter. The methods are here because Twitter was getting crowded.

See Also:
Twitter.setMyLocation(double[]), Twitter.setSearchLocation(double, double, String), Status.getLocation()

Method Summary
 java.util.List geoSearch(double latitude, double longitude)
           
 java.util.List<Place> geoSearch(java.lang.String query)
           
 java.util.List geoSearchByIP(java.lang.String ipAddress)
           
 java.util.List<Place> getTrendRegions()
           
 void setAccuracy(double metres)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

geoSearch

public java.util.List geoSearch(double latitude,
                                double longitude)

geoSearch

public java.util.List<Place> geoSearch(java.lang.String query)

geoSearchByIP

public java.util.List geoSearchByIP(java.lang.String ipAddress)

getTrendRegions

public java.util.List<Place> getTrendRegions()
Parameters:
woeid -
Returns:
regions from which you can get trending info
See Also:
Twitter.getTrends(Number)

setAccuracy

public void setAccuracy(double metres)