Vonage Identity Insights Package
This package contains the code to use the Vonage Identity Insights API in Python. The API provides real-time access to a broad range of attributes related to the carrier, subscriber, or device associated with a phone number. To use it you will need a Vonage account. Sign up [for free at vonage.com][signup].
Usage
It is recommended to use this as part of the main vonage package. The examples below assume you've created an instance of the vonage.Vonage class called vonage_client.
Make a Standard Identity Insights Request
from vonage import Vonage, Auth, HttpClientOptions
from vonage_identity_insights import (
IdentityInsightsRequest,
InsightsRequest,
EmptyInsight,
SimSwapInsight,
)
options = HttpClientOptions(api_host="api-eu.vonage.com", timeout=30)
client = Vonage(auth=auth, http_client_options=options)
request = IdentityInsightsRequest(
phone_number="1234567890",
purpose="FraudPreventionAndDetection",
insights=InsightsRequest(
format=EmptyInsight(), sim_swap=SimSwapInsight(period=240)
),
)
response = client.identity_insights.requests(request)
Metadata
Release files for vonage-identity-insights 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vonage_identity_insights-1.0.0.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vonage_identity_insights-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / vonage_identity_insights-1.0.0.tar.gz
| Download URL | vonage_identity_insights-1.0.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f927071678ab10d7ea43ba7d46b57459481aea31c5d9291b88526cdc374603a2
|
|
BLAKE2b-256 checksum How to use checksums |
eb6a822eb135546d3326aaa72c245ad3a6ec78ad838380146fe2dcbb88f94fab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.3
|
Release files / vonage_identity_insights-1.0.0-py3-none-any.whl
| Download URL | vonage_identity_insights-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d827a36e0b4b91e3c16d70d652072d46981578f9062c55c96033b076273a6d5e
|
|
BLAKE2b-256 checksum How to use checksums |
83281087b50575e1c56de8664ed6afddb4f6387fbe60fe17d50614c8dff73536
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.3
|