Vonage Identity Insights package
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vonage_identity_insights-1.0.0.tar.gz.
File metadata
- Download URL: vonage_identity_insights-1.0.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f927071678ab10d7ea43ba7d46b57459481aea31c5d9291b88526cdc374603a2
|
|
| MD5 |
205920204fc2dc0d406a60c507132266
|
|
| BLAKE2b-256 |
eb6a822eb135546d3326aaa72c245ad3a6ec78ad838380146fe2dcbb88f94fab
|
File details
Details for the file vonage_identity_insights-1.0.0-py3-none-any.whl.
File metadata
- Download URL: vonage_identity_insights-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d827a36e0b4b91e3c16d70d652072d46981578f9062c55c96033b076273a6d5e
|
|
| MD5 |
811cf9f60717087d79857ca85f9264ca
|
|
| BLAKE2b-256 |
83281087b50575e1c56de8664ed6afddb4f6387fbe60fe17d50614c8dff73536
|