Browse Source

exclude detailed forecast

main
Aaron Parecki 3 months ago
committed by GitHub
parent
commit
c249669541
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      p3k/Weather.php

+ 1
- 0
p3k/Weather.php View File

@ -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));

Loading…
Cancel
Save