1GeoIP2::Model::ISP(3) User Contributed Perl DocumentationGeoIP2::Model::ISP(3)
2
3
4

NAME

6       GeoIP2::Model::ISP - Model class for the GeoIP2 ISP database
7

VERSION

9       version 2.006002
10

SYNOPSIS

12         use 5.008;
13
14         use GeoIP2::Model::ISP;
15
16         my $isp = GeoIP2::Model::ISP->new(
17             raw => {
18                 autonomous_system_number => '217',
19                 autonomous_system_organization => 'University of Minnesota',
20                 isp => 'University of Minnesota',
21                 organization => 'University of Minnesota',
22                 ip_address => '128.101.101.101',
23             }
24         );
25
26         print $isp->autonomous_system_number(), "\n";
27         print $isp->autonomous_system_organization(), "\n";
28         print $isp->isp(), "\n";
29         print $isp->organization(), "\n";
30

DESCRIPTION

32       This class provides a model for the data returned by the GeoIP2 ISP
33       database.
34

METHODS

36       This class provides the following methods:
37
38   $isp->autonomous_system_number()
39       This returns the autonomous system number
40       (<http://en.wikipedia.org/wiki/Autonomous_system_(Internet)>)
41       associated with the IP address.
42
43   $isp->autonomous_system_organization()
44       This returns the organization associated with the registered autonomous
45       system number
46       (<http://en.wikipedia.org/wiki/Autonomous_system_(Internet)>) for the
47       IP address.
48
49   $isp->ip_address()
50       Returns the IP address used in the lookup.
51
52   $isp->isp()
53       This returns the name of the ISP associated with the IP address.
54
55   $isp->organization()
56       This returns the name of the organization associated with the IP
57       address.
58

SUPPORT

60       Bugs may be submitted through
61       <https://github.com/maxmind/GeoIP2-perl/issues>.
62

AUTHORS

64       •   Dave Rolsky <drolsky@maxmind.com>
65
66       •   Greg Oschwald <goschwald@maxmind.com>
67
68       •   Mark Fowler <mfowler@maxmind.com>
69
70       •   Olaf Alders <oalders@maxmind.com>
71
73       This software is copyright (c) 2013 - 2019 by MaxMind, Inc.
74
75       This is free software; you can redistribute it and/or modify it under
76       the same terms as the Perl 5 programming language system itself.
77
78
79
80perl v5.34.0                      2021-07-22             GeoIP2::Model::ISP(3)
Impressum