Skip to content

Commit 8c009f3

Browse files
committed
Update readme
1 parent 7113310 commit 8c009f3

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

+15-2
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,35 @@
1111
[build-image]: https://github.com/hnrkcode/python-loading-sdk/actions/workflows/build.yaml/badge.svg
1212
[build-url]: https://github.com/hnrkcode/python-loading-sdk/actions/workflows/build.yaml
1313

14-
## How to install
14+
## Install
1515

1616
```
1717
pip install python-loading-sdk
1818
```
1919

20-
## Usage Examples
20+
## Usage
2121

2222
Instantiate the client and optionally provide login credentials to be able to use methods that requires the user to be logged in.
2323

2424
```python
2525
from loading_sdk import LoadingApiClient
2626

2727
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()
2839
```
2940

41+
## Examples
42+
3043
### Requires Auth
3144

3245
```python

0 commit comments

Comments
 (0)