Skip to content

This is IP2Location Perl Module that enables the user to find the country, region (state), city, latitude, longitude, zip code, time zone, ISP, domain name, connection type, area code, weather, mobile network, elevation, usage type, IP address type and IAB advertising category by IP address or hostname originates from.

License

MIT and 2 other licenses found

Licenses found

MIT
LICENSE
GPL-2.0
COPYING
MIT
LICENSE.TXT
Notifications You must be signed in to change notification settings

ip2location/ip2location-perl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Geo::IP2Location

This Perl module provides fast lookup of country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection type, IDD code, area code, weather station code and station, MCC, MNC, mobile carrier brand, elevation, usage type, IP address type and IAB advertising category from IP address using IP2Location database. This module uses a file based BIN database available at https://www.ip2location.com/database/ip2location upon subscription. You can visit https://www.ip2location.com/development-libraries to download BIN sample files. This database consists of IP address as keys and other information as values. It supports all IP addresses in IPv4 and 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 https://www.ip2location.com/development-libraries.

The complete database is available at https://www.ip2location.com under paid 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 https://www.ip2location.com under subscription package.

IPv4 BIN vs IPv6 BIN

Use the IPv4 BIN file if you just need to query IPv4 addresses.

Use the IPv6 BIN file if you need to query BOTH IPv4 and IPv6 addresses.

COPYRIGHT AND LICENCE

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

This library is released under the MIT license. See the LICENSE file for full license information.

About

This is IP2Location Perl Module that enables the user to find the country, region (state), city, latitude, longitude, zip code, time zone, ISP, domain name, connection type, area code, weather, mobile network, elevation, usage type, IP address type and IAB advertising category by IP address or hostname originates from.

Topics

Resources

License

MIT and 2 other licenses found

Licenses found

MIT
LICENSE
GPL-2.0
COPYING
MIT
LICENSE.TXT

Stars

Watchers

Forks

Packages

No packages published

Languages