Skip to content

Commit bad9da7

Browse files
Pull request #18: feature/EOA-3971
Merge in SDK/python_telesign from feature/EOA-3971 to developer Squashed commit of the following: commit 7631e2cba7cbe42f2896e61f91e552ad1e73ff6d Author: MousumiMohanty <@telesign.com> Date: Tue Sep 2 09:16:37 2025 +0530 update the version commit e4e70f3aead3487a025f83a1f5d64a1bd6bbe53c Author: MousumiMohanty <@telesign.com> Date: Mon Sep 1 14:14:18 2025 +0530 updated the comments commit 39eca39e437fdf397363725ac66f9450e988b276 Author: MousumiMohanty <@telesign.com> Date: Fri Aug 29 16:07:17 2025 +0530 Removed all functionality and methods for the Legacy Intelligence + App Verify SDK commit 9c65775 Merge: d9090e7 363af9d Author: Dario Vallejo <[email protected]> Date: Wed Jun 18 16:09:34 2025 +0000 Pull request #17: v2.3.1 Merge in SDK/python_telesign from developer to master * commit '363af9da3d9a64ce1aece4db8a1da931c6ff6f54': v2.3.1 commit d9090e7 Merge: adced52 019014a Author: Dario Vallejo <[email protected]> Date: Wed Jun 18 15:33:05 2025 +0000 Pull request #15: Developer Merge in SDK/python_telesign from developer to master * commit '019014a0c8bc5201b472e48cdbbc471af741ca41': EOA-3340 Update Python SDK to manage auto refresh of the connections EOA-3340 Update Python SDK to manage auto refresh of the connections solving english texts deleting readme EOA-3340 python sdk with auto refresh Pull request #11: EOA-3340 Update Python SDK to manage auto refresh of the connections Pull request #11: EOA-3340 Update Python SDK to manage auto refresh of the connections
1 parent 363af9d commit bad9da7

File tree

6 files changed

+7
-77
lines changed

6 files changed

+7
-77
lines changed

RELEASE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
3.0.0
2+
- Removed all functionality and methods for the Legacy Intelligence Use Case API
3+
- Removed all functionality and methods for App Verify SDK
4+
15
2.3.1
26
- Adds automatic HTTP session recycling (`pool_recycle`).
37
- Improves keep-alive connection handling.

examples/appverify/1_get_status_by_external_id.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

examples/intelligence/1_get_risk_score_and_related_insights.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
here = path.abspath(path.dirname(__file__))
1313

14-
version = "2.3.1"
14+
version = "3.0.0"
1515

1616
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
1717
long_description = f.read()

telesign/appverify.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
from telesign.rest import RestClient
44

5-
APPVERIFY_STATUS_RESOURCE = "/v1/mobile/verification/status/{external_id}"
6-
75

86
class AppVerifyClient(RestClient):
97
"""
@@ -12,17 +10,4 @@ class AppVerifyClient(RestClient):
1210
"""
1311

1412
def __init__(self, customer_id, api_key, **kwargs):
15-
super(AppVerifyClient, self).__init__(customer_id, api_key, **kwargs)
16-
17-
def status(self, external_id, **params):
18-
"""
19-
Retrieves the verification result for an App Verify transaction by external_id. To ensure a secure verification
20-
flow you must check the status using TeleSign's servers on your backend. Do not rely on the SDK alone to
21-
indicate a successful verification.
22-
23-
See https://developer.telesign.com/docs/app-verify-android-sdk-self#section-get-status-service or
24-
https://developer.telesign.com/docs/app-verify-ios-sdk-self#section-get-status-service for detailed
25-
API documentation.
26-
"""
27-
return self.get(APPVERIFY_STATUS_RESOURCE.format(external_id=external_id),
28-
**params)
13+
super(AppVerifyClient, self).__init__(customer_id, api_key, **kwargs)

telesign/intelligence.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from telesign.util import AuthMethod
66

77
INTELLIGENCE_BASE_URL = "https://detect.telesign.com"
8-
INTELLIGENCE_ENDPOINT_PATH = "/intelligence"
98

109

1110
class IntelligenceClient(RestClient):
@@ -23,17 +22,4 @@ def __init__(self, customer_id, api_key, **kwargs):
2322
rest_endpoint=INTELLIGENCE_BASE_URL,
2423
auth_method=AuthMethod.BASIC.value,
2524
**kwargs
26-
)
27-
28-
def intelligence(self, params):
29-
"""
30-
Telesign Intelligence is like a credit check for digital profiles.
31-
32-
You submit a phone number, IP, and email to the service, the individual
33-
identifiers are each evaluated, and then a score is returned telling you how risky
34-
that user is. You decide whether to proceed based on the score.
35-
36-
See https://developer.telesign.com/enterprise/docs/intelligence-overview
37-
for detailed API documentation.
38-
"""
39-
return self.post(INTELLIGENCE_ENDPOINT_PATH, body=params, query_params=None)
25+
)

0 commit comments

Comments
 (0)