File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ The :class:`TwilioRestClient` gives you access to various list resources. :meth:
50
50
AUTH_TOKEN = " YYYYYYYYYYYYYYYYYY"
51
51
52
52
client = TwilioRestClient(ACCOUNT_SID , AUTH_TOKEN )
53
- resources = client.phone_calls .list()
53
+ resources = client.calls .list()
<
792F
tr class="diff-line-row">54
54
55
55
:meth: `resource.ListResource.list ` accepts paging arguments. The following will return page 3 with page size of 25.
56
56
@@ -63,7 +63,7 @@ The :class:`TwilioRestClient` gives you access to various list resources. :meth:
63
63
AUTH_TOKEN = " YYYYYYYYYYYYYYYYYY"
64
64
65
65
client = TwilioRestClient(ACCOUNT_SID , AUTH_TOKEN )
66
- resources = client.phone_calls .list(page = 3 , page_size = 25 )
66
+ resources = client.calls .list(page = 3 , page_size = 25 )
67
67
68
68
69
69
Listing All Resources
You can’t perform that action at this time.
0 commit comments