GeoIP2.lon_lat(query) Returns a coordinate tuple of (longitude, latitude).
GeoIP2.geos(query) Returns a Point object corresponding to the query.
GeoIP2.country_name(query) Returns the country name corresponding to the query.
GeoIP2.lat_lon(query) Returns a coordinate tuple of (latitude, longitude),
GeoIP2.city(query) Returns a dictionary of city information for the given query. Some of the values in the dictionary may be undefined (None).
GeoIP2.coords(query) Returns a coordinate tuple of (longitude, latitude).
GeoIP2.country(query) Returns a dictionary with the country code and country for the given query.
GeoIP2.country_code(query) Returns the country code corresponding to the query.
GeoIP.lat_lon(query) Returns a coordinate tuple of (latitude, longitude),
GeoIP.record_by_addr(query)
Page 91 of 226