Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Download the helper library from https://www.twilio.com/docs/python/install
- from twilio.rest import Client
- # Your Account Sid and Auth Token from twilio.com/console
- # DANGER! This is insecure. See http://twil.io/secure
- account_sid = 'n'
- auth_token = 'your_auth_token'
- client = Client(account_sid, auth_token)
- message = client.messages \
- .create(
- body="Join Earth's mightiest heroes. Like Kevin Bacon.",
- from_='+15017122661',
- to='+15558675310'
- )
- print(message.sid)
- AC09a n 883a586c89502 n 7757c1e4de3a42eb
- 1493ecef n 7123971c28a1e1 n 180da59712
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement