@@ -69,8 +69,8 @@ account = "ACXXXXXXXXXX
1096F
XXXXXXX"
69
69
token = " YYYYYYYYYYYYYYYYYY"
70
70
client = TwilioRestClient(account, token)
71
71
72
- call = client.calls.create(to = " 9991231234" ,
73
- from_ = " 9991231234" ,
72
+ call = client.calls.create(to = " 9991231234" ,
73
+ from_ = " 9991231234" ,
74
74
url = " http://twimlets.com/holdmusic?Bucket=com.twilio.music.ambient" )
75
75
print call.sid
76
76
```
@@ -84,8 +84,8 @@ account = "ACXXXXXXXXXXXXXXXXX"
84
84
token = " YYYYYYYYYYYYYYYYYY"
85
85
client = TwilioRestClient(account, token)
86
86
87
- message = client.sms. messages.create(to = " +12316851234" , from_ = " +15555555555" ,
88
- body = " Hello there!" )
87
+ message = client.messages.create(to = " +12316851234" , from_ = " +15555555555" ,
88
+ body = " Hello there!" )
89
89
```
90
90
91
91
### Handling a call using TwiML
@@ -115,7 +115,7 @@ Python library documentation") explains all the awesome features available to
115
115
use.
116
116
117
117
* [ Retrieve Call Records] [ calls ]
118
- * [ Retrieve SMS Message Records] [ sms- messages]
118
+ * [ Retrieve Message Records] [ messages ]
119
119
* [ Search for a Phone Number] [ number ]
120
120
* [ Buy a Number] [ number ]
121
121
* [ Validate a Phone Number] [ validate ]
124
124
[ number ] : http://twilio-python.readthedocs.org/en/latest/usage/phone-numbers.html#searching-and-buying-a-number
125
125
[ validate ] : http://twilio-python.readthedocs.org/en/latest/usage/caller-ids.html
126
126
[ recordings ] : http://twilio-python.readthedocs.org/en/latest/usage/recordings.html#listing-your-recordings
127
- [ sms- messages] : http://twilio-python.readthedocs.org/en/latest/usage/messages.html#retrieving-sent-messages
127
+ [ messages ] : http://twilio-python.readthedocs.org/en/latest/usage/messages.html#retrieving-sent-messages
128
128
[ calls ] : http://twilio-python.readthedocs.org/en/latest/usage/phone-calls.html#retrieve-a-call-record
0 commit comments