Adding JSON example in the README
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Jorge Bolois 2023-06-14 19:24:31 +02:00
parent f677568513
commit ccddd8484c

View File

@ -69,6 +69,12 @@ open-meteo-cli current-weather [FLAGS] [OPTIONS]
0,18.8,6.6
```
- JSON: `open-meteo-cli current-weather -d -t -w -j`
```
{"is_day":0,"temperature":18.8,"windspeed":6.6}
```
## Attribution
The weather data used in this application is provided by [Open-Meteo.com](https://open-meteo.com/) under the [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) license.