1GeoIP2::Record::MaxMindU(s3e)r Contributed Perl DocumentaGteiooInP2::Record::MaxMind(3)
2
3
4

NAME

6       GeoIP2::Record::MaxMind - Contains data for the maxmind record returned
7       from a web service query
8

VERSION

10       version 2.006002
11

SYNOPSIS

13         use 5.008;
14
15         use GeoIP2::WebService::Client;
16
17         my $client = GeoIP2::WebService::Client->new(
18             account_id  => 42,
19             license_key => 'abcdef123456',
20         );
21
22         my $insights = $client->insights( ip => '24.24.24.24' );
23
24         my $maxmind_rec = $insights->maxmind();
25         print $maxmind_rec->queries_remaining(), "\n";
26

DESCRIPTION

28       This class contains the maxmind record data returned from a web service
29       query.
30
31       Unlike other record classes, the data in this record is associated with
32       your MaxMind account, not with an IP address.
33
34       This record is returned by all the end points.
35

METHODS

37       This class provides the following methods:
38
39   $maxmind_rec->queries_remaining()
40       The number of queries remaining for the end point you just queried.
41       Note that this is an approximation as query counts are only
42       periodically synced across all of MaxMind's servers.
43

SUPPORT

45       Bugs may be submitted through
46       <https://github.com/maxmind/GeoIP2-perl/issues>.
47

AUTHORS

49       •   Dave Rolsky <drolsky@maxmind.com>
50
51       •   Greg Oschwald <goschwald@maxmind.com>
52
53       •   Mark Fowler <mfowler@maxmind.com>
54
55       •   Olaf Alders <oalders@maxmind.com>
56
58       This software is copyright (c) 2013 - 2019 by MaxMind, Inc.
59
60       This is free software; you can redistribute it and/or modify it under
61       the same terms as the Perl 5 programming language system itself.
62
63
64
65perl v5.36.0                      2022-07-22        GeoIP2::Record::MaxMind(3)
Impressum