Home | Trees | Indices | Help |
|
---|
|
object --+ | GeoIPBase --+ | GeoIP
|
|||
|
|||
|
|||
int |
|
||
int |
|
||
str |
|
||
dict |
|
||
dict |
|
||
str |
|
||
str |
|
||
str |
|
||
str |
|
||
str |
|
||
str |
|
||
dict |
|
||
dict |
|
||
dict |
|
||
dict |
|
||
Inherited from |
|
|||
Inherited from |
|
Initialize the class.
|
Get the country index. This method is called by the _lookupCountryCode and _lookupCountryName methods. It looks up the index ('id') for the country which is the key for the code and name.
|
Using the record length and appropriate start points, seek to the country that corresponds to the converted IP address integer.
|
Seek and return organization (or ISP) name for converted IP addr.
|
Seek and return the region info (dict containing country_code and region_name).
|
Populate location dict for converted IP.
|
Returns 2-letter country code (e.g. 'US') for specified IP address. Use this method if you have a Country, Region, or City database.
|
Returns 2-letter country code (e.g. 'US') for specified hostname. Use this method if you have a Country, Region, or City database.
|
Returns full country name for specified IP address. Use this method if you have a Country or City database.
|
Returns full country name for specified hostname. Use this method if you have a Country database.
|
Lookup the organization (or ISP) for given IP address. Use this method if you have an Organization/ISP database.
|
Lookup the organization (or ISP) for hostname. Use this method if you have an Organization/ISP database.
|
Look up the record for a given IP address. Use this method if you have a City database.
|
Look up the record for a given hostname. Use this method if you have a City database.
|
Lookup the region for given IP address. Use this method if you have a Region database.
|
Lookup the region for given hostname. Use this method if you have a Region database.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Oct 14 13:02:47 2010 | http://epydoc.sourceforge.net |