update README

This commit is contained in:
rmanach 2024-12-18 14:45:31 +01:00
parent d52cc59eec
commit 3fab2cb649

View File

@ -15,6 +15,15 @@ In order to use the client you need to provide some environments variables defin
Once it's done, you're good to use the client. Once it's done, you're good to use the client.
```python
from whereis_client import Client
cli = Client.from_env()
lst_gps_positions = cli.get_gps_positions(
date_start="2022-12-25", date_end="2022-12-30"
)
```
For some code samples on how to use the client, take a look at the [main.py](main.py) sample script. For some code samples on how to use the client, take a look at the [main.py](main.py) sample script.
Enjoy ! Enjoy !