Created
August 13, 2014 17:19
-
-
Save vsanjuan/e28d19b970ac1007b473 to your computer and use it in GitHub Desktop.
This file contains 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 | |
# Your Account Sid and Auth Token from twilio.com/user/account | |
account_sid = "AC6f5324f90ea19d268bc01915e1acfb34" | |
auth_token = "8ebc46ae27b58f6f8a373e33f643e900" | |
client = TwilioRestClient(account_sid, auth_token) | |
message = client.messages.create( | |
body="Messasge from Udacity", | |
to="+1617457392", # Replace with your phone number | |
from_="+34518808339") # Replace with your Twilio number | |
print message.sid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment