Vonage Number Insight v2 package
Project description
Vonage Number Insight Python SDK package
This package contains the code to use v2 of Vonage's Number Insight API (currently in beta) in Python.
It includes classes for making fraud check requests and handling the responses.
Usage
First, import the necessary classes and create an instance of the NumberInsightV2
class:
from vonage_http_client.http_client import HttpClient, Auth
from number_insight_v2 import NumberInsightV2, FraudCheckRequest
http_client = HttpClient(Auth(api_key='your_api_key', api_secret='your_api_secret'))
number_insight = NumberInsightV2(http_client)
You can then create a FraudCheckRequest
object and use the fraud_check
method to initiate a fraud check request:
request = FraudCheckRequest(phone='1234567890')
response = number_insight.fraud_check(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
File details
Details for the file vonage_number_insight_v2-0.1.1b0.tar.gz
.
File metadata
- Download URL: vonage_number_insight_v2-0.1.1b0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb68e76271a74c9de1ba70a4c2b123c52d40dee0f671dff3e72682d02b1479f3 |
|
MD5 | 1148ee0243da111c7749bedab5d3a3bb |
|
BLAKE2b-256 | dca0d2a94219ffaaa2a145f5c8f63b34c8739c57757972c206a607e04b77e099 |
File details
Details for the file vonage_number_insight_v2-0.1.1b0-py3-none-any.whl
.
File metadata
- Download URL: vonage_number_insight_v2-0.1.1b0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58381c1e044308fe14758fab20da3fc8bc83182d3065cc759c3c3d8feb21a5cf |
|
MD5 | 1f8775aaa8da7065547576fe027bc1f5 |
|
BLAKE2b-256 | 352c7d5a9c5563555867bb9803c7bc8ec55ef3c2b4502db1149f5e3a47bd81f0 |