This release is a pre-release and may not be stable for production use.
Vonage Python SDK
The Vonage Python SDK Package vonage provides a streamlined interface for using Vonage APIs in Python projects. This package includes the Vonage class, which simplifies API interactions.
The Vonage class in this package serves as the main entry point for using Vonage APIs. It abstracts away complexities with authentication, HTTP requests and more.
For full API documentation refer to the Vonage Developer documentation.
Installation
Install the package using pip:
pip install vonage
Usage
from vonage import Vonage, Auth, HttpClientOptions
# Create an Auth instance
auth = Auth(api_key='your_api_key', api_secret='your_api_secret')
# Create HttpClientOptions instance
# (not required unless you want to change options from the defaults)
options = HttpClientOptions(api_host='api.nexmo.com', timeout=30)
# Create a Vonage instance
vonage = Vonage(auth=auth, http_client_options=options)
The Vonage class provides access to various Vonage APIs through its properties. For example, to use methods to call the Number Insight API v2:
from vonage_number_insight_v2 import FraudCheckRequest
vonage.number_insight_v2.fraud_check(FraudCheckRequest(phone='1234567890'))
You can also access the underlying HttpClient instance through the http_client property:
user_agent = vonage.http_client.user_agent
Metadata
Release files for vonage 3.99.0a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| vonage-3.99.0a0.tar.gz | 2.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vonage-3.99.0a0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.7 kB
Release files / vonage-3.99.0a0.tar.gz
| Download URL | vonage-3.99.0a0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46cd40d4777e6092ef4c9c3547df28fd7448784fe28551002513037f823649e6
|
|
BLAKE2b-256 checksum How to use checksums |
d1b8e5096c0fe85c915d9725be7a197043f76a04e53b5643b0ee99566812c1a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / vonage-3.99.0a0-py3-none-any.whl
| Download URL | vonage-3.99.0a0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce0f673b766f94c085acfd68e196731f12e18f57184bfc30bb513283f28b7d1f
|
|
BLAKE2b-256 checksum How to use checksums |
13d1102f602dcb53443e8dae4db068db4b8764e3b70f55e6e6d4cc7ef6eac3cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Security for vonage 3.99.0a0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.