Subj : 5day/3hour forcast script
To : echicken
From : Mortifis
Date : Wed Aug 21 2019 12:13 pm
owm.xjs script for 5 day / 3 hour forcast:
Tell me what you think, please
OpenWeatherMap 5 Day/3 Hour Forecast for ' +
city + '
');
fc.list.forEach(function (e) {
if(e.dt >= ts-9900) { // Doesn't list weather 15
minutes prior to next 3 hour block
writeln(system.timestr(e.dt) + ':
');
writeln('
');
writeln(e.main.temp_max+'°C, ' );
writeln(e.weather[0].main + ', ' +
e.weather[0].description);
writeln(e.clouds.all + '% clouds');
writeln();
print("
");
}
});
}
catch (err) {
writeln('ERROR: ' + err + '
');
}
}) ();
My doctor said I have the body of a 25 year old ... and the mind of a 10 :-/
---
þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
.