Skip to content

Commit 18f177d

Browse files
committed
Update documentation with spelling fixes
1 parent 6e5389f commit 18f177d

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@ Install from PyPi using pip
1010

1111
Getting started with the Twilio API couldn't be easier. Create a Twilio REST client to get started. For example, the following code makes a call using the Twilio REST API.
1212

13-
### Making a Call
13+
### API Credentials
14+
15+
`TwilioRestClient` needs your Twilio credentials. While these can be passed in directly to the constructor, we suggest storing your credentials as environment variables. Why? You'll never have to worry about committing your credentials and accidentally posting them somewhere public.
1416

17+
The `TwilioRestClient` looks for `TWILIO_ACCOUNT_SID` and `TWILIO_AUTH_TOKEN` inside the current environment.
18+
19+
### Making a Call
1520

1621
```python
1722
from twilio.rest import TwilioRestClient

docs/getting-started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Making a Call
2020
Generating TwiML
2121
=================
2222

23-
To control phone calls, your application need to output TwiML. Use :class:`twilio.twiml..Response` to easily create such responses.
23+
To control phone calls, your application need to output TwiML. Use :class:`twilio.twiml.Response` to easily create such responses.
2424

2525
.. code-block:: python
2626

docs/usage/basics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Authentication
1111

1212
The :class:`TwilioRestClient` needs your Twilio credentials. While these can be passed in directly to the constructor, we suggest storing your credentials as environment variables. Why? You'll never have to worry about committing your credentials and accidentally posting them somewhere public.
1313

14-
The :class:`TwilioClient` looks for :const:`TWILIO_ACCOUNT_SID` and :const:`TWILIO_AUTH_TOKEN` inside the current environment.
14+
The :class:`TwilioRestClient` looks for :const:`TWILIO_ACCOUNT_SID` and :const:`TWILIO_AUTH_TOKEN` inside the current environment.
1515

1616
With those two values set, create a new :class:`TwilioClient`.
1717

twilio/rest/resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ class Recordings(ListResource):
451451
def list(self, call_sid=None, before=None, after=None, **kwargs):
452452
"""
453453
Returns a page of :class:`Recording` resources as a list.
454-
For paging informtion see :class:`ListResource`.
454+
For paging information see :class:`ListResource`.
455455
456456
:param date after: Only list recordings logged after this datetime
457457
:param date before: Only list recordings logger before this datetime

0 commit comments

Comments
 (0)