Skip to content

Instantly share code, notes, and snippets.

@unforgiven512
Created July 18, 2019 21:52
Show Gist options
  • Select an option

  • Save unforgiven512/35b7fc8c4f0bd5597991dbfed7bc8a77 to your computer and use it in GitHub Desktop.

Select an option

Save unforgiven512/35b7fc8c4f0bd5597991dbfed7bc8a77 to your computer and use it in GitHub Desktop.
#!/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