AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Programmieren allgemein Delphi Temperatur eines Ortes abfragen
Thema durchsuchen
Ansicht
Themen-Optionen

Temperatur eines Ortes abfragen

Ein Thema von Helmi · begonnen am 14. Okt 2022 · letzter Beitrag vom 21. Okt 2022
Antwort Antwort
Seite 2 von 2     12   
Rollo62

Registriert seit: 15. Mär 2007
3.896 Beiträge
 
Delphi 12 Athens
 
#11

AW: Temperatur eines Ortes abfragen

  Alt 21. Okt 2022, 12:54
Scheint doch unter locationforecast für alle Länder was auszugeben, aber was davon sind die momentanen Daten ?
https://api.met.no/weatherapi/locati...ta/get_classic
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>
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 2 von 2     12   


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:55 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz