File tree 1 file changed +15
-2
lines changed
1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 11
11
[ build-image ] : https://github.com/hnrkcode/python-loading-sdk/actions/workflows/build.yaml/badge.svg
12
12
[ build-url ] : https://github.com/hnrkcode/python-loading-sdk/actions/workflows/build.yaml
13
13
14
- ## How to install
14
+ ## Install
15
15
16
16
```
17
17
pip install python-loading-sdk
18
18
```
19
19
20
- ## Usage Examples
20
+ ## Usage
21
21
22
22
Instantiate the client and optionally provide login credentials to be able to use methods that requires the user to be logged in.
23
23
24
24
``` python
25
25
from loading_sdk import LoadingApiClient
26
26
27
27
client = LoadingApiClient(email = " your@email.com" , password = " your_password" )
28
+
29
+ response = client.get_profile()
30
+ ```
31
+
32
+ It can also be used asyncrounously usage:
33
+ ``` python
34
+ from loading_sdk import AsyncLoadingApiClient
35
+
36
+ client = await AsyncLoadingApiClient(email = " your@email.com" , password = " your_password" )
37
+
38
+ response = await client.get_profile()
28
39
```
29
40
41
+ ## Examples
42
+
30
43
### Requires Auth
31
44
32
45
``` python
You can’t perform that action at this time.
0 commit comments