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

Uploaded Source

File details

Details for the file ris.clickatellhttp-0.0.5.tar.gz.

File metadata

File hashes

Hashes for ris.clickatellhttp-0.0.5.tar.gz
Algorithm Hash digest
SHA256 ffef6aae6882b5fa1ed015e95972de8ae5ca1817bd691dab021ed38fb0d89c1f
MD5 4b2d5ee290f3022d8c92faa1e33cfe12
BLAKE2b-256 0f93e3764073ea8b6472028361eaa53ed1a90b2698d3252e9a065aee19d4818d

See more details on using hashes here.

Supported by

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