47
47
from .webhooks import WebhooksAPI
48
48
49
49
50
-
51
50
class WebexTeamsAPI (object ):
52
51
"""Webex Teams API wrapper.
53
52
@@ -70,7 +69,8 @@ def __init__(self, access_token=None, base_url=DEFAULT_BASE_URL,
70
69
"""Create a new WebexTeamsAPI object.
71
70
72
71
An access token must be used when interacting with the Webex Teams API.
73
- This package supports thre methods for you to provide that access token:
72
+ This package supports three methods for you to provide that access
73
+ token:
74
74
75
75
1. You may manually specify the access token via the `access_token`
76
76
argument, when creating a new WebexTeamsAPI object.
@@ -103,8 +103,8 @@ def __init__(self, access_token=None, base_url=DEFAULT_BASE_URL,
103
103
upon creation in the portal.
104
104
client_secret(basestring): The client secret of your integration.
105
105
Provided upon creation in the portal.
106
- oauth_code(basestring): The oauth authorization code provided by the
107
- user oauth process.
106
+ oauth_code(basestring): The oauth authorization code provided by
107
+ the user oauth process.
108
108
oauth_redirect_uri(basestring): The redirect URI used in the user
109
109
OAuth process.
110
110
@@ -134,7 +134,7 @@ def __init__(self, access_token=None, base_url=DEFAULT_BASE_URL,
134
134
self .access_tokens = AccessTokensAPI (
135
135
self .base_url , object_factory ,
136
136
single_request_timeout = single_request_timeout
137
- )
137
+ )
138
138
if not access_token and check_all_not_none (oauth_param_list ):
139
139
access_token = self .access_tokens .get (client_id = client_id ,
140
140
client_secret = client_secret ,
0 commit comments