get_weather
Script
v14
Fork
1
2
3
4
5
6
7
8
import
{
fetch
}
from
"https://esm.town/v/std/fetch"
;
export
let
get_weather
=
async
function
(
)
{
let
response
=
await
fetch
(
"https://api.open-meteo.com/v1/forecast?latitude=49.26&longitude=-123.07¤t_weather=true"
)
;
return
response
.
ok
;
}
;