Geo::IP2Location
================

This Perl module provides fast lookup of country, region, city, latitude, longitude, ZIP code, time zone, ISP name, domain name, connection type, IDD code, area code, weather station code and station, MCC, MNC, mobile carrier brand, elevation and usage type from IP address using IP2Location database. This module uses a file based .BIN database available at http://www.ip2location.com upon subscription. This database contains IP blocks as keys and other information as values. It supports IP address in IPv4 or IPv6.

This module can be used in many types of project such as:

 1) select the geographically closest mirror
 2) analyze web server logs to determine the countries of visitors
 3) credit card fraud detection
 4) software export controls
 5) display native language and currency
 6) prevent password sharing and abuse of service
 7) geotargeting in advertisement

The database will be updated in monthly basis for the greater accuracy. Free sample DB1 database is available at /samples directory or download it online from http://www.ip2location.com/developers.

The complete database is available at http://www.ip2location.com under premium subscription. Meanwhile, free creative-common database is also available at http://lite.ip2location.com upon sign-up.


INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

The complete database is available at http://www.ip2location.com under subscription package.

COPYRIGHT AND LICENCE

Copyright (C) 2016 by IP2Location.com, support@ip2location.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
