Created
September 17, 2014 20:56
-
-
Save RobSpectre/ce0fc85242865b8d8ae4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from twilio.rest import TwilioRestClient | |
TWILIO_ACCOUNT_SID = 'ACxxxxxxxxxxxxxxxx' | |
TWILIO_AUTH_TOKEN = 'yyyyyyyyyyyyyyyyyyy' | |
TWILIO_NUMBER = '+1555667777' | |
MY_NUMBER = '+15558889999' | |
client = TwilioRestClient(TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN) | |
client.messages.create(from_=TWILIO_NUMBER, to=MY_NUMBER, | |
media_url="https://www.twilio.com/packages/company/img/logos_downloadable_round.png") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment