Vonage SMS Package
This package contains the code to use Vonage's SMS API in Python.
It includes a method for sending SMS messages and returns an SmsResponse class to handle the response.
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.
Send an SMS
Create an SmsMessage object, then pass into the Sms.send method.
from vonage_sms import SmsMessage, SmsResponse
message = SmsMessage(to='1234567890', from_='Acme Inc.', text='Hello, World!')
response: SmsResponse = vonage_client.sms.send(message)
print(response.model_dump(exclude_unset=True))
Release files for vonage-sms 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vonage_sms-1.2.0.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vonage_sms-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / vonage_sms-1.2.0.tar.gz
| Download URL | vonage_sms-1.2.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed6695090a31ac88a11e607bd090aea8bc4d75583ea67c9c183205d141665770
|
|
BLAKE2b-256 checksum How to use checksums |
953c81c51f508c5c73c8181b2fb1880ba87adeb43ac5b16331bf279fb5ac7cb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.3
|
Release files / vonage_sms-1.2.0-py3-none-any.whl
| Download URL | vonage_sms-1.2.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15280dbd962179a13790f85518701a018580d5959f4d3c66fe7f081d4586baee
|
|
BLAKE2b-256 checksum How to use checksums |
9633786aff30834f515411f92058efe0e5bdf5b65e27215d2668ac2669636639
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.3
|