Skip to main content

Python implementation of the HTTP API for Clickatell SMS gateway

Project description

Python implementation of the Clickatell HTTP/HTTPS API for sending SMS messages using the Clickatell SMS Gateway as specified in v2.5.3 - https://www.clickatell.com/downloads/http/Clickatell_HTTP.pdf

This package enables you to easily integrate SMS messaging into your Python application.

Installation

You can install this package via PIP

sudo pip install ris.clickatell

Basic Usage

To use this package, you need to first register for a Developer Central account at https://www.clickatell.com. From the Developer Central portal you will be provided with an API ID, username, and password which are required to use the client.

python from ris.clickatell import ClickatellClient, ClickatellException

# Clickatell settings CLICKATELL_API_ID = ‘XXXXXX’ CLICKATELL_USERNAME = ‘username’ CLICKATELL_PASSWORD = ‘password’

# Message details message = ‘Hello world!’ recipients = [‘0000000000’, ‘0000000000’]

client = ClickatellClient(CLICKATELL_API_ID, CLICKATELL_USERNAME, CLICKATELL_PASSWORD) client.send(message, recipients)

Project details


Release history Release notifications

This version

0.0.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ris.clickatellhttp, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size ris.clickatellhttp-0.0.5.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page