country() country(string $ipAddress) : \GeoIp2\Model\Country Parameters string $ipAddress an IPv4 or IPv6 address to lookup Returns \GeoIp2\Model\Country — a Country model for the requested IP address
city() city(string $ipAddress) : \GeoIp2\Model\City Parameters string $ipAddress an IPv4 or IPv6 address to lookup Returns \GeoIp2\Model\City — a City model for the requested IP address