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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vonage_sms-1.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 b0f530c7c504befd5de459230127f7d4a001f05e3482a2d0cacb0e840496280e
MD5 9945ba266178b618abae7b70b6b42cc2
BLAKE2b-256 04b96c8ea4f5c31c995fd0cc96541ca0e4a89a56ae66b7bc38f7f8fcac9c2dc5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vonage_sms-1.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 21e9a044060eff288b85cb3235ed4a9c72228e53c80d0c3e842820b6f6f2160c
MD5 29b6d6c50cc4e4d28caaa06fb982bd59
BLAKE2b-256 534211f845434570ed5a19b3cff5499227c7ef7cd297b2a11355ee7e6f023c23

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