Created
July 19, 2013 18:17
-
-
Save Sourceless/6041228 to your computer and use it in GitHub Desktop.
Simple text-me twilio script
This file contains 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
from twilio.rest import TwilioRestClient | |
import sys | |
account_sid = 'my-account-sid' | |
auth_token = 'my-auth-token' | |
client = TwilioRestClient(account_sid, auth_token) | |
message = client.sms.messages.create(body=sys.argv[1], | |
to="my-number", | |
from_="twilio-number") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment