Commit ·
eedb394
1
Parent(s): 4ff6b18
Add code
Browse files
app.py
CHANGED
|
@@ -12,6 +12,7 @@ account_sid = os.environ.get("TWILIO_ACCOUNT_SID")
|
|
| 12 |
auth_token = os.environ.get("TWILIO_AUTH_TOKEN")
|
| 13 |
|
| 14 |
if account_sid and auth_token:
|
|
|
|
| 15 |
client = Client(account_sid, auth_token)
|
| 16 |
|
| 17 |
token = client.tokens.create()
|
|
|
|
| 12 |
auth_token = os.environ.get("TWILIO_AUTH_TOKEN")
|
| 13 |
|
| 14 |
if account_sid and auth_token:
|
| 15 |
+
from twilio.rest import Client
|
| 16 |
client = Client(account_sid, auth_token)
|
| 17 |
|
| 18 |
token = client.tokens.create()
|