18.03.2020, 10:22
I tried like that you have to put coordinate of location as longitude and latitude.
Code:
require('ssl.https')
require('json')
data = ssl.https.request('https://api.met.no/weatherapi/locationforecast/2.0/.json?lat=51.28&lon=-0.75')
datatable = json.pdecode(data)
log(datatable.properties.timeseries[1].data.instant.details.air_temperature)
------------------------------
Ctrl+F5
Ctrl+F5