|
|
@ -19,7 +19,6 @@ def get_weather_json(lat, lon):
|
|
|
|
|
|
|
|
|
|
|
|
# https://api.met.no/weatherapi/locationforecast/2.0/classic?lat=52.50639&lon=13.4063
|
|
|
|
# https://api.met.no/weatherapi/locationforecast/2.0/classic?lat=52.50639&lon=13.4063
|
|
|
|
resp = requests.get(url=url, params=params, headers=headers)
|
|
|
|
resp = requests.get(url=url, params=params, headers=headers)
|
|
|
|
pprint(resp)
|
|
|
|
|
|
|
|
return resp.json()
|
|
|
|
return resp.json()
|
|
|
|
|
|
|
|
|
|
|
|
def get_forecast(lat, lon):
|
|
|
|
def get_forecast(lat, lon):
|
|
|
|