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

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

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

GeoIP.info This property returns information about all GeoIP databases (both city and country), and the version of the GeoIP

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

GeoIP.country_code_by_addr(query)

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

GeoIP.city_info This property returns information about the GeoIP city database.

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

GeoIP.city(query) Returns a dictionary of city information for the given query. Some of the values in the dictionary may be

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

GeoIP.country_info This property returns information about the GeoIP country database.

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

GeoIP.country_name(query) Returns only the country name corresponding to the query.

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

GeoIP.country_code_by_name(query)

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

GeoIP.country_code(query) Returns only the country code corresponding to the query.

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

GeoIP.record_by_addr(query)

2025-01-10 15:47:30