File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 9
9
* The ``geoip2.records.Location` class has been updated to add attributes for
10
10
the ``average_income `` and ``population_density `` fields provided by the
11
11
Insights web service.
12
+ * The ``is_anonymous_proxy `` and ``is_satellite_provider `` properties on
13
+ ``geoip2.records.Traits `` have been deprecated. Please use our `GeoIP2
14
+ Anonymous IP database
15
+ <https://www.maxmind.com/en/geoip2-anonymous-ip-database> `_
16
+ to determine whether an IP address is used by an anonymizing service.
17
+
12
18
13
19
2.1.0 (2014-12-09)
14
20
++++++++++++++++++
Original file line number Diff line number Diff line change @@ -23,9 +23,6 @@ class Reader(object):
23
23
Instances of this class provide a reader for the GeoIP2 database format.
24
24
IP addresses can be looked up using the ``country`` and ``city`` methods.
25
25
26
- Usage
27
- -----
28
-
29
26
The basic API for this class is the same for every database. First, you
30
27
create a reader object, specifying a file name. You then call the method
31
28
corresponding to the specific database, passing it the IP address you want
Original file line number Diff line number Diff line change @@ -500,13 +500,23 @@ class Traits(Record):
500
500
501
501
:type: bool
502
502
503
+ .. deprecated:: 2.2.0
504
+ Use our our `GeoIP2 Anonymous IP database
505
+ <https://www.maxmind.com/en/geoip2-anonymous-ip-database GeoIP2>`_
506
+ instead.
507
+
503
508
.. attribute:: is_satellite_provider
504
509
505
510
This is true if the IP address is from a satellite provider that
506
511
provides service to multiple countries.
507
512
508
513
:type: bool
509
514
515
+ .. deprecated:: 2.2.0
516
+ Use our our `GeoIP2 Anonymous IP database
517
+ <https://www.maxmind.com/en/geoip2-anonymous-ip-database GeoIP2>`_
518
+ instead.
519
+
510
520
.. attribute:: isp
511
521
512
522
The name of the ISP associated with the IP address. This attribute is
You can’t perform that action at this time.
0 commit comments