![]() |
AW: Temperatur eines Ortes abfragen
Scheint doch unter locationforecast für alle Länder was auszugeben, aber was davon sind die momentanen Daten ?
![]() Da muss man wohl die XML-Daten ordentlich analysieren. Oder gibt es was Besseres für die momentane Daten ?
Delphi-Quellcode:
<time datatype="forecast" from="2022-10-21T14:00:00Z" to="2022-10-21T14:00:00Z">
<location altitude="98" latitude="51.51494" longitude="7.466"> <temperature id="TTT" unit="celsius" value="18.6"></temperature> <windDirection id="dd" deg="198.4" name="S"></windDirection> <windSpeed id="ff" mps="3.9" beaufort="3" name="Lett bris"></windSpeed> <humidity unit="percent" value="77.3"></humidity> <pressure id="pr" unit="hPa" value="1008.9"></pressure> <cloudiness id="NN" percent="19.5"></cloudiness> <fog id="FOG" percent="0.0"></fog> <lowClouds id="LOW" percent="0.0"></lowClouds> <mediumClouds id="MEDIUM" percent="3.1"></mediumClouds> <highClouds id="HIGH" percent="17.2"></highClouds> <dewpointTemperature id="TD" unit="celsius" value="14.7"></dewpointTemperature> </location> </time> <time datatype="forecast" from="2022-10-21T13:00:00Z" to="2022-10-21T14:00:00Z"> <location altitude="98" latitude="51.51494" longitude="7.466"> <precipitation unit="mm" value="0.0"></precipitation> <symbol id="Sun" number="1" code="clearsky_day"></symbol> </location> </time> <time datatype="forecast" from="2022-10-21T15:00:00Z" to="2022-10-21T15:00:00Z"> <location altitude="98" latitude="51.51494" longitude="7.466"> <temperature id="TTT" unit="celsius" value="18.2"></temperature> <windDirection id="dd" deg="188.7" name="S"></windDirection> <windSpeed id="ff" mps="4.1" beaufort="3" name="Lett bris"></windSpeed> <humidity unit="percent" value="78.5"></humidity> <pressure id="pr" unit="hPa" value="1008.8"></pressure> <cloudiness id="NN" percent="43.0"></cloudiness> <fog id="FOG" percent="0.0"></fog> <lowClouds id="LOW" percent="10.9"></lowClouds> <mediumClouds id="MEDIUM" percent="24.2"></mediumClouds> <highClouds id="HIGH" percent="18.0"></highClouds> <dewpointTemperature id="TD" unit="celsius" value="14.5"></dewpointTemperature> </location> </time> <time datatype="forecast" from="2022-10-21T14:00:00Z" to="2022-10-21T15:00:00Z"> <location altitude="98" latitude="51.51494" longitude="7.466"> <precipitation unit="mm" value="0.0"></precipitation> <symbol id="LightCloud" number="2" code="fair_day"></symbol> </location> </time> <time datatype="forecast" from="2022-10-21T16:00:00Z" to="2022-10-21T16:00:00Z"> <location altitude="98" latitude="51.51494" longitude="7.466"> <temperature id="TTT" unit="celsius" value="16.9"></temperature> <windDirection id="dd" deg="188.8" name="S"></windDirection> <windSpeed id="ff" mps="3.9" beaufort="3" name="Lett bris"></windSpeed> <humidity unit="percent" value="83.8"></humidity> <pressure id="pr" unit="hPa" value="1008.9"></pressure> <cloudiness id="NN" percent="15.6"></cloudiness> <fog id="FOG" percent="0.0"></fog> <lowClouds id="LOW" percent="0.8"></lowClouds> <mediumClouds id="MEDIUM" percent="3.9"></mediumClouds> <highClouds id="HIGH" percent="11.7"></highClouds> <dewpointTemperature id="TD" unit="celsius" value="14.2"></dewpointTemperature> </location> </time> |
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:50 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz