You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,9 @@ Documentation can be found at [https://developer.mypurecloud.com/api/rest/client
8
8
9
9
## Install Using pip
10
10
11
-
~~~python
11
+
```{"language":"python"}
12
12
pip install PureCloudPlatformClientV2
13
-
~~~
13
+
```
14
14
15
15
Package info can be found at [https://pypi.python.org/pypi/PureCloudPlatformClientV2](https://pypi.python.org/pypi/PureCloudPlatformClientV2)
16
16
@@ -20,25 +20,25 @@ Package info can be found at [https://pypi.python.org/pypi/PureCloudPlatformClie
20
20
21
21
Import the package in the python script:
22
22
23
-
~~~python
23
+
```{"language":"python"}
24
24
import PureCloudPlatformClientV2
25
-
~~~
25
+
```
26
26
27
27
### Authenticating
28
28
29
29
The Python SDK does not currently contain helper methods to complete an OAuth flow. The consuming applicaiton must complete an OAuth flow to get an access token outside the scope of the SDK. Once an access token is obtained, it should be set on the SDK via `PureCloudPlatformClientV2.configuration.access_token`. For more information about authenticating with OAuth, see the Developer Center article [Authorization](https://developer.mypurecloud.com/api/rest/authorization/index.html).
If connecting to a PureCloud environment other than mypurecloud.com (e.g. mypurecloud.ie), set the new base path before constructing any API classes. The new base path should be the base path to the Platform API for your environment.
0 commit comments