gis.geoip.GeoIP.lat_lon()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.lat_lon(query) Returns a coordinate tuple of (latitude, longitude),

2025-01-10 15:47:30
gis.geoip.GeoIP.geos()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.geos(query) Returns a

2025-01-10 15:47:30
gis.geoip.GeoIP
  • References/Python/Django/API/Geolocation with GeoIP

class GeoIP(path=None, cache=0, country=None, city=None) The GeoIP object does not require any parameters to use

2025-01-10 15:47:30
gis.geoip.GeoIP.country_name_by_addr()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.country_name_by_addr(query)

2025-01-10 15:47:30
gis.geoip.GeoIP.region_by_addr()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.region_by_addr(query)

2025-01-10 15:47:30
gis.geoip.GeoIP.country_name_by_name()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.country_name_by_name(query)

2025-01-10 15:47:30
gis.geoip.GeoIP.record_by_name()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.record_by_name(query)

2025-01-10 15:47:30
gis.geoip.GeoIP.region_by_name()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.region_by_name(query)

2025-01-10 15:47:30
gis.geoip.GeoIP.lon_lat()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.lon_lat(query) Returns a coordinate tuple of (longitude, latitude).

2025-01-10 15:47:30
gis.geoip.GeoIP.country()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.country(query) Returns a dictionary with the country code and country for the given query.

2025-01-10 15:47:30