Did I find the right examples for you? yes no

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)
Twilio account object that provides helper functions for making
REST requests to the Twilio API.  This helper library works both in
standalone python applications using the urllib/urlib2 libraries and
inside Google App Engine applications using urlfetch.

src/m/y/myewb2-HEAD/myewb/contrib/twilio/examples/example-rest.py   myewb2(Download)
 
# Create a Twilio REST account object using your Twilio account ID and token
account = twilio.Account(ACCOUNT_SID, ACCOUNT_TOKEN)
 
# ===========================================================================

src/s/m/smsmybus-dev-HEAD/apps/sms.py   smsmybus-dev(Download)
    def post(self):
      logging.info("Outbound SMS for ID %s to %s" % 
                   (self.request.get('sid'), self.request.get('phone')))
      account = twilio.Account(config.ACCOUNT_SID, config.ACCOUNT_TOKEN)
      sms = {

src/i/m/imok_appengine-HEAD/sms_twilio.py   imok_appengine(Download)
           'Body': sms_message.message,
           'StatusCallback': 'https://%s/smsgateway/twilio/callback' % s.HOST }
  account = twilio.Account(s.TWILIO_ACCOUNT_ID, s.TWILIO_AUTH_TOKEN)
  response = account.request(URL_BASE + '/SMS/Messages', method='POST', vars=data)
 

src/s/m/SMSMyBus-HEAD/admin.py   SMSMyBus(Download)
      for u in users:
        logging.info("Send reminder SMS to %s" % u.phone)
        account = twilio.Account(config.ACCOUNT_SID, config.ACCOUNT_TOKEN)
        sms = {
               'From' : config.CALLER_ID,
    def post(self):
      callers = db.GqlQuery("SELECT * FROM Caller").fetch(limit=None)
      for friend in callers:
        logging.info("Send outreach SMS to %s" % friend.phone)
        account = twilio.Account(config.ACCOUNT_SID, config.ACCOUNT_TOKEN)
    def post(self):
      logging.info("Outbound SMS for ID %s to %s" %
                   (self.request.get('sid'), self.request.get('phone')))
      account = twilio.Account(config.ACCOUNT_SID, config.ACCOUNT_TOKEN)
      sms = {

src/t/w/Twilio-Chrome-Extension---discontinued--HEAD/appengine/index.py   Twilio-Chrome-Extension---discontinued-(Download)
 
        try:
            account = twilio.Account(sid, token)
        except Exception, e:
            r = {'TwilioResponse':{'msg':'Cannot validate your Twilio account.','type':'error'}}
 
        try:
            account = twilio.Account(sid, token)
        except Exception, e:
            r = {'TwilioResponse':{'msg':'Cannot validate Twilio account.','type':'error'}}

src/p/h/PhoneTap-HEAD/twiliosimple/connection.py   PhoneTap(Download)
    self.api_version = '2008-08-01'
 
    self.account = twilio_official.Account(id, token)
 
  def call(self, caller, number, callback_url, details={}):

src/s/t/stenotype-HEAD/dailer.py   stenotype(Download)
 
# Create a Twilio REST account object using your Twilio account ID and token
account = twilio.Account(ACCOUNT_SID, ACCOUNT_TOKEN)