l.s.g.i.IGeoIP(
Interface
) : interface documentation
Part of
lp
.
services
.
geoip
.
interfaces
View In Hierarchy
The GeoIP utility, which represents the GeoIP database.
Method
getCountryCodeByAddr
Return the country code for the given IP address, or None.
Method
getCountryByAddr
Find and return an ICountry based on the given IP address.
def getCountryCodeByAddr(ip_address):
Return the country code for the given IP address, or None.
def getCountryByAddr(ip_address):
Find and return an ICountry based on the given IP address.
Parameters
ip_address
Must be text in the dotted-address notation, for example '196.131.31.25'
API Documentation
for Launchpad, generated by
pydoctor
at 2022-06-16 00:00:12.