From 96bfe488928b55637570c08c026adc9da3d34e95 Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Mon, 24 Jun 2024 19:16:59 -0600 Subject: [PATCH] Put example queries in details tags --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 79335ea..fdf84ce 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,8 @@ adminer container for quick inspection. Navigate in your browser to * Database: `aross` -#### Example query +
+Example query ```sql select event.* @@ -135,6 +136,7 @@ where AND event.end_timestamp < '2023-06-01'::date ; ``` +
### Run API @@ -143,11 +145,13 @@ where fastapi dev src/aross_stations_db/api ``` -Example query: +
+Example query ``` http://127.0.0.1:8000/v1/?start=2023-01-01&end=2023-06-01&polygon=POLYGON%20((-159.32130625160698%2069.56469019745796,%20-159.32130625160698%2068.08208920517862,%20-150.17196253090276%2068.08208920517862,%20-150.17196253090276%2069.56469019745796,%20-159.32130625160698%2069.56469019745796)) ``` +