PackageDescription: Clickatell-Interface


Clickatell - Interface

Last published: June 15, 2010 by 'ernest'

Defines 7 Classes
Extends 7 Classes


Clickatell-Interface implements the Clickatell Two-way API using HTTP/S

http://support.clickatell.com/guides/clickatell/api_guide.php

MIT License. (c) 2009-2010 Ernest Micklei. PhilemonWorks.com


Example client:

sms := Clickatell.SMSClient api: '....' user: '....' password: '.....'.
sms ping.
sms accountBalance.
msg := Clickatell.Message new.
msg to: '.......'.
msg contents: 'With love from Smalltalk'.
response := sms send: msg.
id := sms readResultFrom: response.
status := sms status: id.


Example server:

| app |
app := Seaside.WAAdmin
register: Clickatell.SMSReplyHandler
at: 'clickatell'.
app apiID: '....'.
app callback: [ :smsReply | .... ]
app errorBlock:[ :request :sig | ]