Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from twilio.rest import Client
- # Your Account Sid and Auth Token from twilio.com/console
- account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
- auth_token = 'your_auth_token'
- client = Client(account_sid, auth_token)
- message = client.messages \
- .create(
- body="Heyy. This is your Pi with an eye",
- from_='+17192158586',
- to='+91xxxxxxxxxx'
- )
- print(message.sid)
Add Comment
Please, Sign In to add comment