Skip to content

Commit

Permalink
Put example queries in details tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Jun 25, 2024
1 parent 26298da commit 96bfe48
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ adminer container for quick inspection. Navigate in your browser to
* Database: `aross`


#### Example query
<details>
<summary>Example query</summary>

```sql
select event.*
Expand All @@ -135,6 +136,7 @@ where
AND event.end_timestamp < '2023-06-01'::date
;
```
</details>


### Run API
Expand All @@ -143,11 +145,13 @@ where
fastapi dev src/aross_stations_db/api
```

Example query:
<details>
<summary>Example query</summary>

```
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))
```
</details>


<!-- prettier-ignore-start -->
Expand Down

0 comments on commit 96bfe48

Please sign in to comment.