From ccddd8484c2b48fe4f4cade22b03474d26476172 Mon Sep 17 00:00:00 2001 From: Jorge Bolois Date: Wed, 14 Jun 2023 19:24:31 +0200 Subject: [PATCH] Adding JSON example in the README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 577c1ef..81a5ae0 100644 --- a/README.md +++ b/README.md @@ -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.