• Your shopping cart is empty!

IP2Proxy Perl Module

This Perl module supports all IP2Proxy™ BIN database products to query proxy IP address and its proxy type, country, region, city, ISP name, domain name, usage type, ASN and last seen in days. It has been optimized for speed and memory utilization.

Installation

ZIP Installation

  1. Download IP2Proxy Perl module Geo-IP2Proxy-[version].tar.gz
  2. Decompress the module
    tar -xvfz Geo-IP2Proxy-x.xx.tar.gz
  3. Install Geo::IP2Proxy module.
    perl Makefile.PL
    make
    make test
    make install
  4. Sign up and download IP2Proxy LITE database.
Sample Codes
use Geo::IP2Proxy;
my $obj = Geo::IP2Proxy->open("IP2PROXY-IP-PROXYTYPE-COUNTRY-REGION-CITY-ISP.BIN");

my $packageversion = $obj->getPackageVersion();
my $dbversion = $obj->getDatabaseVersion();
my $moduleversion = $obj->getModuleVersion();
my $countryshort = $obj->getCountryShort("1.2.3.4");
my $countrylong = $obj->getCountryLong("1.2.3.4");
my $region = $obj->getRegion("1.2.3.4");
my $city = $obj->getCity("1.2.3.4");
my $isp = $obj->getISP("1.2.3.4");
my $domain = $obj->getDomain("1.2.3.4");
my $usagetype = $obj->getUsageType("1.2.3.4");
my $asn = $obj->getASN("1.2.3.4");
my $as = $obj->getAS("1.2.3.4");
my $lastseen = $obj->getLastSeen("1.2.3.4");
my $proxytype = $obj->getProxyType("1.2.3.4");
my $isproxy = $obj->isProxy("1.2.3.4");

($isproxy, $proxytype, $coshort, $colong, $region, $city, $isp, $domain, $usagetype, $asn, $as, $lastseen) = $obj->getAll("1.2.3.4");
($isproxy, $proxytype, $coshort, $colong, $region, $city, $isp, $domain, $usagetype, $asn, $as, $lastseen) = $obj->getAll("2001:0000:0000:0000:0000:0000:0000:0000");

$obj->close();
Sample IP2Proxy Databases (BIN)
Sample Packages IPv4 + IPv6
IP2Proxy PX1 Sample BIN File Download (14.37 MB)
IP2Proxy PX2 Sample BIN File Download (16.19 MB)
IP2Proxy PX3 Sample BIN File Download (20.54 MB)
IP2Proxy PX4 Sample BIN File Download (27.30 MB)
IP2Proxy PX5 Sample BIN File Download (29.24 MB)
IP2Proxy PX6 Sample BIN File Download (29.91 MB)
IP2Proxy PX7 Sample BIN File Download (32.20 MB)
IP2Proxy PX8 Sample BIN File Download (32.81 MB)