Skip to content

Commit 5caf4ba

Browse files
authored
Merge pull request #86 from maxmind/kevin/update-dev-links
Update dev.maxmind.com links
2 parents 274c307 + bc8c55a commit 5caf4ba

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Description
88
This package provides an API for the `MaxMind minFraud Score, Insights, and
99
Factors web services <https://dev.maxmind.com/minfraud/>`_ as well as the
1010
`Report Transaction web service
11-
<https://dev.maxmind.com/minfraud/report_transaction>`_.
11+
<https://dev.maxmind.com/minfraud/report-a-transaction?lang=en>`_.
1212

1313
Installation
1414
------------
@@ -71,7 +71,7 @@ The Score web service is called with the ``score()`` method:
7171
Each of these methods takes a dictionary representing the transaction to be sent
7272
to the web service. The structure of this dictionary should be in `the format
7373
specified in the REST API documentation
74-
<https://dev.maxmind.com/minfraud/#Request_Body>`__.
74+
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`__.
7575
All fields are optional.
7676

7777
Report Transactions Usage
@@ -89,7 +89,7 @@ Report Transaction web service is called with the ``report()`` method:
8989
The method takes a dictionary representing the report to be sent to the web
9090
service. The structure of this dictionary should be in `the format specified
9191
in the REST API documentation
92-
<https://dev.maxmind.com/minfraud/report-transaction/#Request_Body>`__. The
92+
<https://dev.maxmind.com/minfraud/report-a-transaction?lang=en>`__. The
9393
``ip_address`` and ``tag`` fields are required. All other fields are optional.
9494

9595
Request Validation (for all request methods)

minfraud/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ class Device:
356356
357357
In order to receive device output from minFraud Insights or minFraud
358358
Factors, you must be using the `Device Tracking Add-on
359-
<https://dev.maxmind.com/minfraud/device/>`_.
359+
<https://dev.maxmind.com/minfraud/track-devices?lang=en>`_.
360360
361361
.. attribute:: confidence
362362
@@ -769,7 +769,7 @@ class ServiceWarning:
769769
770770
This value is a machine-readable code identifying the
771771
warning. See the `web service documentation
772-
<https://dev.maxmind.com/minfraud/#Warning>`_
772+
<https://dev.maxmind.com/minfraud/api-documentation/responses?lang=en#schema--response--warning>`_
773773
for the current list of of warning codes.
774774
775775
:type: str | None

minfraud/webservice.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ async def factors(
243243
"""Query Factors endpoint with transaction data.
244244
245245
:param transaction: A dictionary containing the transaction to be
246-
sent to the minFraud Insights web service as specified in the `REST
246+
sent to the minFraud Factors web service as specified in the `REST
247247
API documentation
248-
<https://dev.maxmind.com/minfraud/#Request_Body>`_.
248+
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`_.
249249
:type transaction: dict
250250
:param validate: If set to false, validation of the transaction
251251
dictionary will be disabled. This validation helps ensure that your
@@ -284,7 +284,7 @@ async def insights(
284284
:param transaction: A dictionary containing the transaction to be
285285
sent to the minFraud Insights web service as specified in the `REST
286286
API documentation
287-
<https://dev.maxmind.com/minfraud/#Request_Body>`_.
287+
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`_.
288288
:type transaction: dict
289289
:param validate: If set to false, validation of the transaction
290290
dictionary will be disabled. This validation helps ensure that your
@@ -323,7 +323,7 @@ async def score(
323323
:param transaction: A dictionary containing the transaction to be
324324
sent to the minFraud Score web service as specified in the `REST API
325325
documentation
326-
<https://dev.maxmind.com/minfraud/#Request_Body>`_.
326+
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`_.
327327
:type transaction: dict
328328
:param validate: If set to false, validation of the transaction
329329
dictionary will be disabled. This validation helps ensure that your
@@ -359,7 +359,7 @@ async def report(
359359
:param report: A dictionary containing the transaction report to be sent
360360
to the Report Transations web service as specified in the `REST API`
361361
documentation
362-
<https://dev.maxmind.com/minfraud/report-transaction/#Request_Body>_.
362+
<https://dev.maxmind.com/minfraud/report-a-transaction?lang=en>_.
363363
:type report: dict
364364
:param validate: If set to false, validation of the report dictionary
365365
will be disabled. This validation helps ensure that your request is
@@ -487,9 +487,9 @@ def factors(
487487
"""Query Factors endpoint with transaction data.
488488
489489
:param transaction: A dictionary containing the transaction to be
490-
sent to the minFraud Insights web service as specified in the `REST
490+
sent to the minFraud Factors web service as specified in the `REST
491491
API documentation
492-
<https://dev.maxmind.com/minfraud/#Request_Body>`_.
492+
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`_.
493493
:type transaction: dict
494494
:param validate: If set to false, validation of the transaction
495495
dictionary will be disabled. This validation helps ensure that your
@@ -528,7 +528,7 @@ def insights(
528528
:param transaction: A dictionary containing the transaction to be
529529
sent to the minFraud Insights web service as specified in the `REST
530530
API documentation
531-
<https://dev.maxmind.com/minfraud/#Request_Body>`_.
531+
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`_.
532532
:type transaction: dict
533533
:param validate: If set to false, validation of the transaction
534534
dictionary will be disabled. This validation helps ensure that your
@@ -567,7 +567,7 @@ def score(
567567
:param transaction: A dictionary containing the transaction to be
568568
sent to the minFraud Score web service as specified in the `REST API
569569
documentation
570-
<https://dev.maxmind.com/minfraud/#Request_Body>`_.
570+
<https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`_.
571571
:type transaction: dict
572572
:param validate: If set to false, validation of the transaction
573573
dictionary will be disabled. This validation helps ensure that your

0 commit comments

Comments
 (0)