Skip to content

rwizi/clickatellhttp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#clickatellhttp

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.clickatellhttp

##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.

from ris.clickatellhttp 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)

About

Python implementation of the HTTP API for Clickatell SMS gateway

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages