8000 fix various typos · ryanhorn/twilio-python@5a5d105 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5a5d105

Browse files
author
Kevin Burke
committed
fix various typos
1 parent 8e8ad63 commit 5a5d105

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

docs/usage/basics.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Listing All Resources
7171

7272
Sometimes you'd like to retrieve all records from a list resource. Instead of manually paging over the resource, the :class:`resources.ListResource.iter` method returns a generator. After exhausting the current page, the generator will request the next page of results.
7373

74-
.. warning:: Accessing all your records can be slow. We suggest only doing so when you absolutely need all the records
74+
.. warning:: Accessing all your records can be slow. We suggest only doing so when you absolutely need all the records.
7575

7676
.. code-block:: python
7777
@@ -102,5 +102,5 @@ To get an individual instance resource, use :class:`resources.ListResource.get`.
102102
client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN)
103103
104104
call = client.calls.get("CA123")
105-
print call.sid
105+
print call.to
106106

docs/usage/caller-ids.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Validating a phone number is quick and easy.
1919
2020
client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN)
2121
response = client.caller_ids.validate("+44 9876543212")
22-
print response["validation_code"]
22+
print response.validation_code
2323
2424
Twilio will call the provided number and wait for the validation code to be
2525
entered.

docs/usage/phone-calls.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Making a Phone Call
1111
-------------------
1212

1313
The :class:`Calls` resource allows you to make outgoing calls. Before a call
14-
can be successfully started, you'll need a url which outputs valid `TwiML
15-
<http://www.twilio.com/docs/api/twiml/>`_.
14+
can be successfully started, you'll need a to set up a url endpoint which
15+
outputs valid `TwiML <http://www.twilio.com/docs/api/twiml/>`_.
1616

1717
.. code-block:: python
1818
@@ -66,7 +66,9 @@ Each :class:`Call` resource also has access to its `notifications`, `recordings`
6666
print call.recordings.list()
6767
print call.transcriptions.list()
6868
69-
However, what if you only have a `CallSid`, and not the actual :class:`Resource`? No worries, as :meth:`list` can be filter based on `CallSid`.
69+
However, what if you only have a `CallSid`, and not the actual
70+
:class:`Resource`? No worries, as :meth:`list` can be filtered based on a given
71+
`CallSid`.
7072

7173
.. code-block:: python
7274

0 commit comments

Comments
 (0)
0