Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vonage_number_insight_v2-0.1.1b0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page