Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion credentials.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
account_sid = "Your Account Sid"
auth_token = "Your Auth Token"
my_cell = "+Your Cell Number"
my_twilio = "+Your Twilio Number"
my_twilio = "+Your Twilio Number"
from twilio.rest import Client

# Your Account SID from twilio.com/console
account_sid = "AC37b5699c2f2c158171b0d7b06881732b"
# Your Auth Token from twilio.com/console
auth_token = "your_auth_token"

client = Client(account_sid, auth_token)

message = client.messages.create(
to="+15558675309",
from_="+15017250604",
body="Hello from Python!")

print(message.sid)