From c24966954121e7bdfa1923900836a009a98337d2 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sat, 8 Jun 2024 09:22:08 -0700 Subject: [PATCH] exclude detailed forecast --- p3k/Weather.php | 1 + 1 file changed, 1 insertion(+) diff --git a/p3k/Weather.php b/p3k/Weather.php index 00c0b35..7ae2a51 100644 --- a/p3k/Weather.php +++ b/p3k/Weather.php @@ -77,6 +77,7 @@ class Weather { 'lat' => $lat, 'lon' => $lng, 'appid' => $key, + 'exclude' => 'minutely,hourly,daily,alerts' ]; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://api.openweathermap.org/data/3.0/onecall?'.http_build_query($params));