From 3fab2cb64934952ada02e2447f93bff881c3974b Mon Sep 17 00:00:00 2001 From: rmanach Date: Wed, 18 Dec 2024 14:45:31 +0100 Subject: [PATCH] update README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 76a15d8..62754b3 100644 --- a/README.md +++ b/README.md @@ -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. +```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. Enjoy !