Did I find the right examples for you? yes no

All Samples(139)  |  Call(71)  |  Derive(0)  |  Import(68)
A client for accessing the Twilio REST API

:param str account: Your Account SID from `your dashboard
    <https://twilio.com/user/account>`_
:param str token: Your Auth Token from `your dashboard
    <https://twilio.com/user/account>`_
:param float timeout: The socket and read timeout for requests to Twilio

src/s/i/signalbox-0.1.13/signalbox/example_project/app/settings.py   signalbox(Download)
from signalbox.configurable_settings import *
from signalbox.utilities.get_env_variable import get_env_variable
from twilio.rest import TwilioRestClient
import imp
import os

src/d/j/django-twilio-0.5.1/django_twilio/client.py   django-twilio(Download)
from django_twilio import settings
 
from twilio.rest import TwilioRestClient
 
twilio_client = TwilioRestClient(
    settings.TWILIO_ACCOUNT_SID,

src/d/j/django-twilio-HEAD/django_twilio/client.py   django-twilio(Download)
from django_twilio import settings
 
from twilio.rest import TwilioRestClient
 
twilio_client = TwilioRestClient(
    settings.TWILIO_ACCOUNT_SID,

src/j/a/jaraco.pmxbot-1.14/jaraco/pmxbot/notification.py   jaraco.pmxbot(Download)
	if not msg: return
	msg = msg.encode('ascii')[:160]
	client = twilio.rest.TwilioRestClient(account=account, token=token)
	client.messages.create(to=number, from_="+15712573984", body=msg)
	return "Sent {count} chars to {number}".format(count=len(msg),

src/m/i/mididial-HEAD/mididial_midi.py   mididial(Download)
import ftplib
from bitly_api import Connection
from twilio.rest import TwilioRestClient
 
random.seed()
 
        self.twilio_client = TwilioRestClient(
            account=self.midiPhonConfig.TwilioAppSid,
            token=self.midiPhonConfig.TwilioApiToken
        )

src/w/a/watttime-HEAD/accounts/twilio_utils.py   watttime(Download)
def get_twilio_client():
    global twilio_client
    if twilio_client is None:
        twilio_client = twilio.rest.TwilioRestClient(account = TWILIO_ACCOUNT_SID,
                token = TWILIO_AUTH_TOKEN)

src/a/m/amonone-HEAD/amonone/sms/sender.py   amonone(Download)
from os.path import join, abspath, dirname
import threading
 
from twilio.rest import TwilioRestClient
from jinja2 import Environment, FileSystemLoader
def send_test_sms(recepient=None):
	details = sms_model.get()
	client = TwilioRestClient(details['account'], details['token'])
 
	t = threading.Thread(target=_send_sms_in_thread, 
def send_sms(alert=None, recepients=None, template=None):
	details = sms_model.get()
 
	try:
		client = TwilioRestClient(details['account'], details['token'])

src/m/o/Mobile-App-Distribution-with-SMS-HEAD/app.py   Mobile-App-Distribution-with-SMS(Download)
 
from twilio import twiml
from twilio.rest import TwilioRestClient
from twilio import TwilioRestException
 
# Instantiate Twilio REST client to use for sending SMS.
if app.config['TWILIO_ACCOUNT_SID'] and app.config['TWILIO_AUTH_TOKEN']:
    app.twilio_client = TwilioRestClient(app.config['TWILIO_ACCOUNT_SID'],
                app.config['TWILIO_AUTH_TOKEN'])
 

src/h/a/Hacker-Hotline-HEAD/app.py   Hacker-Hotline(Download)
 
from twilio import twiml
from twilio.rest import TwilioRestClient
from twilio.util import TwilioCapability
 
if app.config['TWILIO_ACCOUNT_SID'] and app.config['TWILIO_AUTH_TOKEN']:
    app.twilio_client = TwilioRestClient(
            app.config['TWILIO_ACCOUNT_SID'],
            app.config['TWILIO_AUTH_TOKEN'])
else:

src/e/a/earwig-HEAD/plugins/twilio_voice/earwig.py   earwig(Download)
 
import twilio
from twilio.rest import TwilioRestClient
 
 
 
        self.client = TwilioRestClient(
            self.settings['account_sid'],
            self.settings['auth_token'],
        )

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8  Next