Ich habe Wetterdaten über XML ausgewertet. Jetzt dachte ich, ich probiere es mal über diese json Funktion.
Code: Alles auswählen
{"cod":"200","message":0,"cnt":3,"list":[{"dt":1610107200,"main":{"temp":1.43,"feels_like":-2.92,"temp_min":1.16,"temp_max":1.43,"pressure":1015,"sea_level":1015,"grnd_level":991,"humidity":90,"temp_kf":0.27},"weather":[{"id":600,"main":"Snow","description":"Mäßiger Schnee","icon":"13d"}],"clouds":{"all":100},"wind":{"speed":3.37,"deg":269},"visibility":3016,"pop":0.78,"snow":{"3h":0.83},"sys":{"pod":"d"},"dt_txt":"2021-01-08 12:00:00"},{"dt":1610118000,"main":{"temp":1.43,"feels_like":-2.28,"temp_min":1.36,"temp_max":1.43,"pressure":1016,"sea_level":1016,"grnd_level":991,"humidity":93,"temp_kf":0.07},"weather":[{"id":600,"main":"Snow","description":"Mäßiger Schnee","icon":"13d"}],"clouds":{"all":100},"wind":{"speed":2.56,"deg":263},"visibility":3042,"pop":0.45,"snow":{"3h":0.3},"sys":{"pod":"d"},"dt_txt":"2021-01-08 15:00:00"},{"dt":1610128800,"main":{"temp":0.93,"feels_like":-2.44,"temp_min":0.88,"temp_max":0.93,"pressure":1018,"sea_level":1018,"grnd_level":993,"humidity":95,"temp_kf":0.05},"weather":[{"id":600,"main":"Snow","description":"Mäßiger Schnee","icon":"13n"}],"clouds":{"all":99},"wind":{"speed":2.02,"deg":262},"visibility":4633,"pop":0.42,"snow":{"3h":0.16},"sys":{"pod":"n"},"dt_txt":"2021-01-08 18:00:00"}],"city":{"id":2938912,"name":"Darmstadt","coord":{"lat":49.8333,"lon":8.6667},"country":"DE","population":3792941,"timezone":3600,"sunrise":1610090478,"sunset":1610120545}}