Did I find the right examples for you? yes no

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)
Send a Sms Message to a phone number

:param to: whom to send message to
:param from_: whom to send message from.
:param action: url to request after the message is queued
:param method: submit to 'action' url using GET or POST
:param statusCallback: url to hit when the message is actually sent

src/t/w/twilio-python-HEAD/tests/test_twiml.py   twilio-python(Download)
    def testEmpty(self):
        """Test empty sms verb"""
        r = Response()
        r.append(twiml.Sms(""))
        r = self.strip(r)
    def testBody(self):
        """Test hello world"""
        r = Response()
        r.append(twiml.Sms("Hello, World"))
        r = self.strip(r)
    def testToFromAction(self):
        """ Test the to, from, and status callback"""
        r = Response()
        r.append(twiml.Sms("Hello, World", to=1231231234, sender=3453453456,
            statusCallback="example.com?id=34&action=hey"))
    def testActionMethod(self):
        """ Test the action and method parameters on Sms"""
        r = Response()
        r.append(twiml.Sms("Hello", method="POST", action="example.com?id=34&action=hey"))
        r = self.strip(r)
    def testBadAppend(self):
        """ should raise exceptions for wrong appending"""
        self.improperAppend(twiml.Sms("Hello"))
 
 

src/p/y/python-twilio2-HEAD/tests/test_twiml.py   python-twilio2(Download)
    def testEmpty(self):
        """Test empty sms verb"""
        r = Response()
        r.append(twiml.Sms(""))
        r = self.strip(r)
    def testBody(self):
        """Test hello world"""
        r = Response()
        r.append(twiml.Sms("Hello, World"))
        r = self.strip(r)
    def testToFromAction(self):
        """ Test the to, from, and status callback"""
        r = Response()
        r.append(twiml.Sms("Hello, World", to=1231231234, sender=3453453456,
            statusCallback="example.com?id=34&action=hey"))
    def testActionMethod(self):
        """ Test the action and method parameters on Sms"""
        r = Response()
        r.append(twiml.Sms("Hello", method="POST", action="example.com?id=34&action=hey"))
        r = self.strip(r)
    def testBadAppend(self):
        """ should raise exceptions for wrong appending"""
        self.improperAppend(twiml.Sms("Hello"))
 
class TestDial(TwilioTest):