-
Method Summary
-
Method Details
-
country
- Returns:
- A Country model for the requesting IP address
- Throws:
GeoIp2Exception
- if there is an error from the web service
IOException
- if an IO error happens during the request
-
city
- Returns:
- A City model for the requesting IP address
- Throws:
GeoIp2Exception
- if there is an error from the web service
IOException
- if an IO error happens during the request
-
insights
- Returns:
- An Insights model for the requesting IP address
- Throws:
GeoIp2Exception
- if there is an error from the web service
IOException
- if an IO error happens during the request
-
insights
- Parameters:
ipAddress
- IPv4 or IPv6 address to lookup.
- Returns:
- An Insight model for the requested IP address.
- Throws:
GeoIp2Exception
- if there is an error looking up the IP
IOException
- if there is an IO error