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
Python SDK to conveniently access the [WorkOS API](https://workos.com/docs/reference), [hosted on PyPi](https://pypi.org/project/workos/).
3
+
The WorkOS library for Python provides convenient access to the WorkOS API from applications written in Python, [hosted on PyPi](https://pypi.org/project/workos/)
4
+
5
+
## Documentation
6
+
7
+
See the [API Reference](https://workos.com/docs/reference/client-libraries) for Python usage examples.
4
8
5
9
## Installation
6
10
@@ -14,30 +18,20 @@ To install from source, clone the repo and run the following:
14
18
python setup.py install
15
19
```
16
20
17
-
## Getting Started
21
+
## Configuration
18
22
19
23
The package will need to be configured with your [api key](https://dashboard.workos.com/api-keys) at a minimum and [client id](https://dashboard.workos.com/sso/configuration) if you plan on using SSO:
24
+
20
25
```python
21
26
import workos
22
27
23
-
workos.api_key ="sk_abdsomecharactersm284"
24
-
workos.client_id ="client_b27needthisforssotemxo"
28
+
workos.api_key ="sk_1234"
29
+
workos.client_id ="client_1234"
25
30
```
26
31
27
-
A client is available as an entry point to the WorkOS feature set:
28
-
```python
29
-
from workos import client
30
-
31
-
# URL to redirect a User so they can initiate the WorkOS OAuth 2.0 workflow
0 commit comments