This website works better with JavaScript.
Home
Explore
Help
Sign In
p3k
/
Atlas
mirror of
https://github.com/aaronpk/Atlas.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
exclude detailed forecast
main
Aaron Parecki
6 months ago
committed by
GitHub
parent
3785168e1a
commit
c249669541
No known key found for this signature in database
GPG Key ID:
B5690EEEBB952194
1 changed files
with
1 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
p3k/Weather.php
+ 1
- 0
p3k/Weather.php
View File
@ -77,6 +77,7 @@ class Weather {
'lat'
=>
$lat
,
'lat'
=>
$lat
,
'lon'
=>
$lng
,
'lon'
=>
$lng
,
'appid'
=>
$key
,
'appid'
=>
$key
,
'exclude'
=>
'minutely,hourly,daily,alerts'
];
];
$ch
=
curl_init
();
$ch
=
curl_init
();
curl_setopt
(
$ch
,
CURLOPT_URL
,
'https://api.openweathermap.org/data/3.0/onecall?'
.
http_build_query
(
$params
));
curl_setopt
(
$ch
,
CURLOPT_URL
,
'https://api.openweathermap.org/data/3.0/onecall?'
.
http_build_query
(
$params
));
Write
Preview
Loading…
Cancel
Save