mirror of
https://github.com/craigerl/aprsd.git
synced 2025-06-15 04:42:26 -04:00
Compare commits
3 Commits
6dba56f74d
...
ad1e62b17c
Author | SHA1 | Date | |
---|---|---|---|
ad1e62b17c | |||
|
bd83e53838 | ||
|
16bfda431c |
@ -66,8 +66,8 @@ def fetch_openweathermap(api_key, lat, lon, units='metric', exclude=None):
|
|||||||
exclude = 'minutely,hourly,daily,alerts'
|
exclude = 'minutely,hourly,daily,alerts'
|
||||||
try:
|
try:
|
||||||
url = (
|
url = (
|
||||||
'https://api.openweathermap.org/data/2.5/onecall?'
|
"https://api.openweathermap.org/data/3.0/onecall?"
|
||||||
'lat={}&lon={}&appid={}&units={}&exclude={}'.format(
|
"lat={}&lon={}&appid={}&units={}&exclude={}".format(
|
||||||
lat,
|
lat,
|
||||||
lon,
|
lon,
|
||||||
api_key,
|
api_key,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user