GeoIP.geos(query) Returns a
GeoIP.lat_lon(query) Returns a coordinate tuple of (latitude, longitude),
GeoIP.country_name_by_addr(query)
GeoIP.record_by_name(query)
class GeoIP(path=None, cache=0, country=None, city=None) The GeoIP object does not require any parameters to use
GeoIP.region_by_addr(query)
GeoIP.country_name_by_name(query)
GeoIP.country(query) Returns a dictionary with the country code and country for the given query.
GeoIP.info This property returns information about all GeoIP databases (both city and country), and the version of the GeoIP
GeoIP.lon_lat(query) Returns a coordinate tuple of (longitude, latitude).
Page 1 of 2