Skip to content

Commit b5a1366

Browse files
committed
Update links to the documentation
1 parent 4b46a84 commit b5a1366

2 files changed

Lines changed: 10 additions & 16 deletions

File tree

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# Sift Python Bindings
22

33
Bindings for Sift's APIs -- including the
4-
[Events](https://sift.com/resources/references/events-api.html),
5-
[Labels](https://sift.com/resources/references/labels-api.html),
4+
[Events](https://developers.sift.com/docs/python/events-api/,
5+
[Labels](https://developers.sift.com/docs/python/labels-api/),
66
and
7-
[Score](https://sift.com/resources/references/score-api.html)
7+
[Score](https://developers.sift.com/docs/python/score-api/)
88
APIs.
99

10-
1110
## Installation
1211

1312
```sh
@@ -26,11 +25,6 @@ Please see
2625
[the CHANGELOG](https://github.com/SiftScience/sift-python/blob/master/CHANGES.md)
2726
for a history of all changes.
2827

29-
Note, that in v2.0.0, the API semantics were changed to raise an
30-
exception in the case of error to be more pythonic. Client code will
31-
need to be updated to catch `sift.client.ApiException` exceptions.
32-
33-
3428
## Usage
3529

3630
Here's an example:

sift/client.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Python client for Sift Science's API.
2-
See: https://developers.sift.com/docs/python/events-api
2+
See: https://developers.sift.com/docs/python/events-api/
33
"""
44

55
from __future__ import annotations
@@ -374,7 +374,7 @@ def track(
374374
375375
This call is blocking.
376376
377-
Visit https://siftscience.com/resources/references/events-api
377+
Visit https://developers.sift.com/docs/python/events-api/
378378
for more information on what types of events you can send and fields
379379
you can add to the properties parameter.
380380
@@ -518,7 +518,7 @@ def score(
518518
519519
This call is blocking.
520520
521-
Visit https://developers.sift.com/docs/python/score-api
521+
Visit https://developers.sift.com/docs/python/score-api/
522522
for more details on our Score response structure.
523523
524524
Args:
@@ -597,7 +597,7 @@ def get_user_score(
597597
598598
This call is blocking.
599599
600-
Visit https://developers.sift.com/docs/python/score-api/get-score
600+
Visit https://developers.sift.com/docs/python/score-api/get-score/
601601
for more details.
602602
603603
Args:
@@ -665,7 +665,7 @@ def rescore_user(
665665
666666
This call is blocking.
667667
668-
Visit https://developers.sift.com/docs/python/score-api/rescore/overview
668+
Visit https://developers.sift.com/docs/python/score-api/rescore/
669669
for more details.
670670
671671
Args:
@@ -725,7 +725,7 @@ def label(
725725
726726
This call is blocking.
727727
728-
Visit https://developers.sift.com/docs/python/labels-api
728+
Visit https://developers.sift.com/docs/python/labels-api/label-user
729729
for more details on what fields to send in properties.
730730
731731
Args:
@@ -774,7 +774,7 @@ def unlabel(
774774
775775
This call is blocking.
776776
777-
Visit https://developers.sift.com/docs/python/labels-api
777+
Visit https://developers.sift.com/docs/python/labels-api/unlabel-user
778778
for more details.
779779
780780
Args:

0 commit comments

Comments
 (0)