Advertisement
Guest User

Untitled

a guest
Nov 30th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. from twilio import rest
  2.  
  3. # Your Account Sid and Auth Token from twilio.com/user/account
  4. account_sid = "AC18889a69474dfe31ddbec***"
  5. auth_token = "4d53aa04e018e5cc797b5932***"
  6. client = rest.TwilioRestClient(account_sid, auth_token)
  7.  
  8. message = client.messages.create(body="Hello and welcome to Skyette!",
  9. to="+49172***", # Replace with your phone number
  10. from_="+49157359***") # Replace with your Twilio number
  11. print message.sid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement