Skip to content

Commit

Permalink
chore: update tilde bash tutorial to Tilde v4
Browse files Browse the repository at this point in the history
  • Loading branch information
elidana committed Nov 4, 2024
1 parent 170393f commit 2a6eac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tilde/Bash_Tilde_Access.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A good way to start would be running the following lines which set up a few base
```
#! /bin/bash
ip=https://tilde.geonet.org.nz
v=v3
v=v4
```

To access the API documentation the following line can be run:
Expand Down Expand Up @@ -55,7 +55,7 @@ Printing the data with a specific time period for NZE:

Printing the number of 15s records for a specific time period for NZE:

`curl "${ip}/${v}/data/dart/NZE/water-height/40/15s/nil/2021-02-10/2021-02-11" | jq -r '.[] | .data[] | "\(.ts)\t\(.value)"' | wc -l`
`curl "${ip}/${v}/data/dart/NZE/water-height/40/15s/nil/2021-02-10/2021-02-11" | jq -r '.[] | .data[] | "\(.ts)\t\(.val)"' | wc -l`

Printing all of the records for a specific time period for NZE:

Expand Down

0 comments on commit 2a6eac5

Please sign in to comment.