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


Download files

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

Source Distribution

ris.clickatellhttp-0.0.5.tar.gz (4.1 kB view hashes)

Uploaded Source

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