Metadata-Version: 2.1
Name: vonage-number-insight-v2
Version: 0.1.1b0
Summary: Vonage Number Insight v2 package
Author-email: Vonage <devrel@vonage.com>
Project-URL: homepage, https://github.com/Vonage/vonage-python-sdk
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: vonage-http-client>=1.3.1
Requires-Dist: vonage-utils>=1.1.1
Requires-Dist: pydantic>=2.7.1

# 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:

```python
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:

```python
request = FraudCheckRequest(phone='1234567890')
response = number_insight.fraud_check(request)
```
