NAME
Geo::DetailsPlus - Module to represent details of an IP returned by the Plus API
SYNOPSIS
use Geo::DetailsPlus;
my $data = {
ip => '8.8.8.8',
hostname => 'dns.google',
geo => {
city => 'Mountain View',
country => 'United States',
country_code => 'US',
},
as => {
asn => 'AS15169',
name => 'Google LLC',
},
privacy => {
vpn => 0,
proxy => 0,
},
};
my $details = Geo::DetailsPlus->new($data);
print $details->ip; # Output: 8.8.8.8
print $details->hostname; # Output: dns.google
print $details->geo->city; # Output: Mountain View
print $details->privacy->vpn; # Output: 0
DESCRIPTION
Geo::DetailsPlus represents details of an IP returned by the IPinfo Plus API.
AUTHOR
IPinfo <support@ipinfo.io>
COPYRIGHT AND LICENSE
Copyright (c) 2025 IPinfo
Licensed under the Apache License, Version 2.0.