This is an API module for using the GeoLite Country or City databases. Unlike other IP to country code modules, this one does nothing on its own. It is an API/utility module for use by other modules.

As of 7.x-2.x the module also supports Maxminds GeoIP2 databases.

Modules that use this API:

Note: this module is incompatible with the geoip PECL extension. For more information please review this issue.

Supporting organizations: 
sponsored development time for the 7.x branches

Project information