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
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.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.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.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.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.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.record_by_addr()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.record_by_addr(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