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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vonage_sms-1.1.6.tar.gz
Algorithm Hash digest
SHA256 40a5d67cddd35cb8c82dc6d16f619791feae39ceb7bd3b1c2a18928539faba39
MD5 bbf1224edf1720fb3df5476e31870bd7
BLAKE2b-256 c31b73160a864fcdd51afdba71cfd86f09e1bda5eb17c225180952538d03ea51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vonage_sms-1.1.6-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.13.2

File hashes

Hashes for vonage_sms-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 16b4ff384326cca797aabbf4f9fa7b333ed100974759c4d6331216fa77eb6525
MD5 0cdb8e87536b346f48177461b12a0097
BLAKE2b-256 bdbdb0dfdcbd51b6e2d0093bf5c0b40c0744e3d715b15dff4b1a187a96e6e37f

See more details on using hashes here.

Supported by

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