Created
July 18, 2019 21:52
-
-
Save unforgiven512/35b7fc8c4f0bd5597991dbfed7bc8a77 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
| #!/usr/bin/env python2 | |
| from twilio.rest import Client | |
| # Account SID and auth token | |
| account_sid = "mysid" | |
| auth_token = "token" | |
| client = Client(account_sid, auth_token) | |
| message = client.messages.create(to="+18147464610", from="+12243081290", body="Hello World from Python and Twilio") | |
| print(message.sid) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment