Skip to content

Commit 21382ff

Browse files
authored
Merge pull request #383 from maxmind/greg/stf-555
Use 'GeoIP'/'GeoLite' branding in documentation
2 parents c15bd1c + 9c38656 commit 21382ff

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

CLAUDE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ All response models in `models.py` inherit from `_Serializable` which provides:
8787

8888
**Component Models:**
8989
- `ScoreIPAddress` - Simple IP risk info for Score
90-
- `IPAddress` extends `geoip2.models.Insights` - Full GeoIP2 data plus minFraud risk
90+
- `IPAddress` extends `geoip2.models.Insights` - Full GeoIP data plus minFraud risk
9191
- `CreditCard`, `Device`, `Email`, `EmailDomain`, `Phone` - Transaction component data
9292
- `BillingAddress`, `ShippingAddress` - Address information
9393
- `Disposition` - Custom rules disposition
@@ -142,13 +142,13 @@ Clients handle HTTP status codes:
142142
- 500-599: Raised as `HTTPError` with status and body
143143
- Success (200): Response JSON parsed into model objects
144144

145-
#### 7. **GeoIP2 Integration**
145+
#### 7. **GeoIP Integration**
146146

147-
minFraud models extend GeoIP2 models:
147+
minFraud models extend GeoIP models:
148148
- `IPAddress` extends `geoip2.models.Insights` - Adds `risk` and `risk_reasons`
149149
- `GeoIP2Location` extends `geoip2.records.Location` - Adds `local_time`
150150

151-
This allows minFraud responses to include full GeoIP2 data (city, country, ISP, etc.) alongside fraud data.
151+
This allows minFraud responses to include full GeoIP data (city, country, ISP, etc.) alongside fraud data.
152152

153153
## Testing Conventions
154154

src/minfraud/models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
107107

108108

109109
class IPAddress(geoip2.models.Insights):
110-
"""Model for minFraud and GeoIP2 data about the IP address.
110+
"""Model for minFraud and GeoIP data about the IP address.
111111
112112
This class inherits from :py:class:`geoip2.models.Insights`. In addition
113113
to the attributes provided by that class, it provides the ``risk`` and
@@ -966,7 +966,7 @@ class Factors(_Serializable):
966966
easily identify a particular request."""
967967

968968
ip_address: IPAddress
969-
"""A :class:`.IPAddress` object containing GeoIP2 and
969+
"""A :class:`.IPAddress` object containing GeoIP and
970970
minFraud Insights information about the IP address."""
971971

972972
queries_remaining: int
@@ -1090,7 +1090,7 @@ class Insights(_Serializable):
10901090
easily identify a particular request."""
10911091

10921092
ip_address: IPAddress
1093-
"""A :class:`.IPAddress` object containing GeoIP2 and
1093+
"""A :class:`.IPAddress` object containing GeoIP and
10941094
minFraud Insights information about the IP address."""
10951095

10961096
queries_remaining: int

0 commit comments

Comments
 (0)