Skip to main content

Vonage SMS package

Project description

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))

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_sms-1.1.4.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

vonage_sms-1.1.4-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file vonage_sms-1.1.4.tar.gz.

File metadata

  • Download URL: vonage_sms-1.1.4.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.4

File hashes

Hashes for vonage_sms-1.1.4.tar.gz
Algorithm Hash digest
SHA256 18531e563a32a3cbf482f7cd4598c1cd1e65522c30cd630b974ff2640d24d8ea
MD5 cab7d1e986b7c539d06b99a9bbeabbbf
BLAKE2b-256 fd3c0a8e4f3e97a05f74241580c7bb244afb1a774921b3df8a182c50f0f7bd1f

See more details on using hashes here.

File details

Details for the file vonage_sms-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: vonage_sms-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.4

File hashes

Hashes for vonage_sms-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8ac5477c12d0d2e9dc5ecd2148fa448eee0171af7a9978032bd779d326af3549
MD5 6eb7f96605e0729893d82a23b8fbbd09
BLAKE2b-256 5de22bcd35ad60b4f17a3b780e10b18421c2b4dc40a29ccac536ad5e925a70b9

See more details on using hashes here.

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