Conversione stringa (String conversion)

api.openweathermap.org/data/2.5/forecast?lat={lat}&lon={lon}&appid={API key}

From what I see at

you can request a forecast with just the city name, country.

Add an extra Web component and name it WebForecast, to allow you to process the forecast properly into the chart data components using the code already supplied in prior posts.

Do your response content handling in a new WebForecast .GotText event, not in the click event.

For debugging purposes, add an extra global variable ForecastResponseContent to hold a copy of that particular response content.

Good morning and thanks again for your reply. I was already aware of much of what you wrote. As I have already said in the past, I am not very good with appinventor2 as I have only been practicing for a short time. In sending you the mymeteoxxx.aia file I thought you would have made the necessary corrections to that block (forecast button) which did not allow me to extract the json data (min_temp, max_temp) to be introduced in chartdata2d2 and obtain the 5-day forecast. Can you do anything? Thank you

Sorry, I was afraid to code it myself because my Italian was even poorer than your blocks skill, and I didn't see where to get the city and country from your component names.

sorry, I used the latitude and longitude of nusco(italy) as an exercise. The long and lat coordinates in the forecast belong to this place

I still don't have enough knowledge of your UI to feed a forecast URL.

In the meantime, there are two OpenWeatherMap samples at

is not sufficient
https://api.openweathermap.org/data/2.5/forecast?lat=40.887&lon=15.0883&appid=de13e1ddbf051e1bf40a6be1981f23d6&units=metric ?

the latitude and longitude refers to the city of nusco (italy). I think you can substitute any other latitude and longitude
according to the scheme

https://api.openweathermap.org/data/2.5/forecast?lat={lat}&lon={lon}&appid={API key}

Here is a forecast, without your appid, with the graph code stolen from

image

OpenWeatherMap_Nusco_Forecast_graph.aia (3.6 KB)


global APPID



(appid removed to protect it)

Hello. I made some changes to my first APP. My difficulty is creating blocks for the 6-day weather forecast. Practically by clicking on the "FORECAST" button (forecast) the values ​​(temp_min,Temp_max) appear in the various textboxes next to the labels (Day1,Day2,day3...). Can you help me to create the loop by correcting what I did?
Thank you

MyMeteoXX.aia (104.8 KB)

FILE JSON
{"cod":"200","message":0,"cnt":40,"list":[{"dt":1692370800,"main":{"temp":25.67,"feels_like":25.52,"temp_min":23.51,"temp_max":25.67,"pressure":1021,"sea_level":1021,"grnd_level":922,"humidity":47,"temp_kf":2.16},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":40},"wind":{"speed":5.24,"deg":331,"gust":8.33},"visibility":10000,"pop":0.32,"rain":{"3h":1.29},"sys":{"pod":"d"},"dt_txt":"2023-08-18 15:00:00"},{"dt":1692381600,"main":{"temp":22.81,"feels_like":22.69,"temp_min":17.08,"temp_max":22.81,"pressure":1020,"sea_level":1020,"grnd_level":921,"humidity":59,"temp_kf":5.73},"weather":[{"id":501,"main":"Rain","description":"moderate rain","icon":"10n"}],"clouds":{"all":45},"wind":{"speed":1.57,"deg":122,"gust":2.78},"visibility":10000,"pop":0.64,"rain":{"3h":9.27},"sys":{"pod":"n"},"dt_txt":"2023-08-18 18:00:00"},{"dt":1692392400,"main":{"temp":19.98,"feels_like":19.65,"temp_min":17.14,"temp_max":19.98,"pressure":1018,"sea_level":1018,"grnd_level":921,"humidity":62,"temp_kf":2.84},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02n"}],"clouds":{"all":15},"wind":{"speed":0.84,"deg":352,"gust":1.18},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2023-08-18 21:00:00"},{"dt":1692403200,"main":{"temp":17.82,"feels_like":17.3,"temp_min":17.82,"temp_max":17.82,"pressure":1016,"sea_level":1016,"grnd_level":920,"humidity":63,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":2},"wind":{"speed":0.57,"deg":50,"gust":0.98},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2023-08-19 00:00:00"},{"dt":1692414000,"main":{"temp":17.38,"feels_like":16.87,"temp_min":17.38,"temp_max":17.38,"pressure":1016,"sea_level":1016,"grnd_level":920,"humidity":65,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":1},"wind":{"speed":0.41,"deg":37,"gust":1},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2023-08-19 03:00:00"},{"dt":1692424800,"main":{"temp":21.13,"feels_like":20.76,"temp_min":21.13,"temp_max":21.13,"pressure":1016,"sea_level":1016,"grnd_level":921,"humidity":56,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":1},"wind":{"speed":0.86,"deg":48,"gust":1.13},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-19 06:00:00"},{"dt":1692435600,"main":{"temp":27.54,"feels_like":27.06,"temp_min":27.54,"temp_max":27.54,"pressure":1016,"sea_level":1016,"grnd_level":923,"humidity":36,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":1.57,"deg":359,"gust":1.92},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-19 09:00:00"},{"dt":1692446400,"main":{"temp":30.27,"feels_like":29.01,"temp_min":30.27,"temp_max":30.27,"pressure":1015,"sea_level":1015,"grnd_level":923,"humidity":30,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":2.31,"deg":331,"gust":3.64},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-19 12:00:00"},{"dt":1692457200,"main":{"temp":29.27,"feels_like":28.1,"temp_min":29.27,"temp_max":29.27,"pressure":1015,"sea_level":1015,"grnd_level":922,"humidity":30,"temp_kf":0},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02d"}],"clouds":{"all":13},"wind":{"speed":3.72,"deg":6,"gust":4.62},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-19 15:00:00"},{"dt":1692468000,"main":{"temp":22.28,"feels_like":21.87,"temp_min":22.28,"temp_max":22.28,"pressure":1016,"sea_level":1016,"grnd_level":921,"humidity":50,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":6},"wind":{"speed":1.69,"deg":26,"gust":1.67},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2023-08-19 18:00:00"},{"dt":1692478800,"main":{"temp":20.11,"feels_like":19.64,"temp_min":20.11,"temp_max":20.11,"pressure":1017,"sea_level":1017,"grnd_level":922,"humidity":56,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":0.96,"deg":48,"gust":1.73},"visibility":10000,"pop":0.15,"sys":{"pod":"n"},"dt_txt":"2023-08-19 21:00:00"},{"dt":1692489600,"main":{"temp":18.81,"feels_like":18.31,"temp_min":18.81,"temp_max":18.81,"pressure":1017,"sea_level":1017,"grnd_level":921,"humidity":60,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":2},"wind":{"speed":0.6,"deg":30,"gust":1.57},"visibility":10000,"pop":0.33,"rain":{"3h":0.17},"sys":{"pod":"n"},"dt_txt":"2023-08-20 00:00:00"},{"dt":1692500400,"main":{"temp":17.98,"feels_like":17.53,"temp_min":17.98,"temp_max":17.98,"pressure":1016,"sea_level":1016,"grnd_level":920,"humidity":65,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":8},"wind":{"speed":0.93,"deg":44,"gust":1.46},"visibility":10000,"pop":0.29,"rain":{"3h":0.1},"sys":{"pod":"n"},"dt_txt":"2023-08-20 03:00:00"},{"dt":1692511200,"main":{"temp":21.78,"feels_like":21.5,"temp_min":21.78,"temp_max":21.78,"pressure":1017,"sea_level":1017,"grnd_level":922,"humidity":57,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":4},"wind":{"speed":1.37,"deg":19,"gust":2.63},"visibility":10000,"pop":0.3,"sys":{"pod":"d"},"dt_txt":"2023-08-20 06:00:00"},{"dt":1692522000,"main":{"temp":26.9,"feels_like":26.94,"temp_min":26.9,"temp_max":26.9,"pressure":1016,"sea_level":1016,"grnd_level":923,"humidity":43,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":3.46,"deg":20,"gust":5.02},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-20 09:00:00"},{"dt":1692532800,"main":{"temp":30.19,"feels_like":29.09,"temp_min":30.19,"temp_max":30.19,"pressure":1015,"sea_level":1015,"grnd_level":923,"humidity":32,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":2},"wind":{"speed":4.81,"deg":31,"gust":4.58},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-20 12:00:00"},{"dt":1692543600,"main":{"temp":29.35,"feels_like":28.52,"temp_min":29.35,"temp_max":29.35,"pressure":1015,"sea_level":1015,"grnd_level":923,"humidity":35,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":8},"wind":{"speed":4.79,"deg":17,"gust":4.53},"visibility":10000,"pop":0.02,"sys":{"pod":"d"},"dt_txt":"2023-08-20 15:00:00"},{"dt":1692554400,"main":{"temp":22.18,"feels_like":21.92,"temp_min":22.18,"temp_max":22.18,"pressure":1017,"sea_level":1017,"grnd_level":922,"humidity":56,"temp_kf":0},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02n"}],"clouds":{"all":11},"wind":{"speed":1.92,"deg":21,"gust":1.89},"visibility":10000,"pop":0.06,"sys":{"pod":"n"},"dt_txt":"2023-08-20 18:00:00"},{"dt":1692565200,"main":{"temp":19.76,"feels_like":19.38,"temp_min":19.76,"temp_max":19.76,"pressure":1018,"sea_level":1018,"grnd_level":923,"humidity":61,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.99,"deg":31,"gust":2.04},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2023-08-20 21:00:00"},{"dt":1692576000,"main":{"temp":19.05,"feels_like":18.6,"temp_min":19.05,"temp_max":19.05,"pressure":1018,"sea_level":1018,"grnd_level":922,"humidity":61,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.31,"deg":69,"gust":2.09},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2023-08-21 00:00:00"},{"dt":1692586800,"main":{"temp":18.9,"feels_like":18.44,"temp_min":18.9,"temp_max":18.9,"pressure":1017,"sea_level":1017,"grnd_level":922,"humidity":61,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.5,"deg":51,"gust":1.96},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2023-08-21 03:00:00"},{"dt":1692597600,"main":{"temp":22.78,"feels_like":22.47,"temp_min":22.78,"temp_max":22.78,"pressure":1018,"sea_level":1018,"grnd_level":923,"humidity":52,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":2,"deg":39,"gust":2.93},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-21 06:00:00"},{"dt":1692608400,"main":{"temp":29.67,"feels_like":28.75,"temp_min":29.67,"temp_max":29.67,"pressure":1017,"sea_level":1017,"grnd_level":925,"humidity":34,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":4},"wind":{"speed":4.52,"deg":31,"gust":5.75},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-21 09:00:00"},{"dt":1692619200,"main":{"temp":32.34,"feels_like":30.87,"temp_min":32.34,"temp_max":32.34,"pressure":1016,"sea_level":1016,"grnd_level":924,"humidity":27,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":3},"wind":{"speed":6.21,"deg":36,"gust":5.72},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-21 12:00:00"},{"dt":1692630000,"main":{"temp":30.96,"feels_like":29.79,"temp_min":30.96,"temp_max":30.96,"pressure":1015,"sea_level":1015,"grnd_level":923,"humidity":31,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":5.5,"deg":27,"gust":5.94},"visibility":10000,"pop":0.07,"sys":{"pod":"d"},"dt_txt":"2023-08-21 15:00:00"},{"dt":1692640800,"main":{"temp":21.49,"feels_like":21.26,"temp_min":21.49,"temp_max":21.49,"pressure":1017,"sea_level":1017,"grnd_level":923,"humidity":60,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":0},"wind":{"speed":0.59,"deg":274,"gust":1.4},"visibility":10000,"pop":0.21,"rain":{"3h":0.17},"sys":{"pod":"n"},"dt_txt":"2023-08-21 18:00:00"},{"dt":1692651600,"main":{"temp":20.33,"feels_like":19.99,"temp_min":20.33,"temp_max":20.33,"pressure":1018,"sea_level":1018,"grnd_level":923,"humidity":60,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.78,"deg":6,"gust":1.94},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2023-08-21 21:00:00"},{"dt":1692662400,"main":{"temp":19.6,"feels_like":19.16,"temp_min":19.6,"temp_max":19.6,"pressure":1017,"sea_level":1017,"grnd_level":922,"humidity":59,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.71,"deg":40,"gust":2.09},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2023-08-22 00:00:00"},{"dt":1692673200,"main":{"temp":19.46,"feels_like":18.95,"temp_min":19.46,"temp_max":19.46,"pressure":1017,"sea_level":1017,"grnd_level":921,"humidity":57,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.45,"deg":65,"gust":2.19},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2023-08-22 03:00:00"},{"dt":1692684000,"main":{"temp":23.35,"feels_like":22.97,"temp_min":23.35,"temp_max":23.35,"pressure":1017,"sea_level":1017,"grnd_level":922,"humidity":47,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":1.77,"deg":39,"gust":2.54},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-22 06:00:00"},{"dt":1692694800,"main":{"temp":30.46,"feels_like":29.19,"temp_min":30.46,"temp_max":30.46,"pressure":1016,"sea_level":1016,"grnd_level":924,"humidity":30,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":5},"wind":{"speed":3.06,"deg":42,"gust":4.69},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-22 09:00:00"},{"dt":1692705600,"main":{"temp":33.21,"feels_like":31.5,"temp_min":33.21,"temp_max":33.21,"pressure":1014,"sea_level":1014,"grnd_level":923,"humidity":24,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":7},"wind":{"speed":4.77,"deg":48,"gust":3.69},"visibility":10000,"pop":0.02,"sys":{"pod":"d"},"dt_txt":"2023-08-22 12:00:00"},{"dt":1692716400,"main":{"temp":26.34,"feels_like":26.34,"temp_min":26.34,"temp_max":26.34,"pressure":1015,"sea_level":1015,"grnd_level":922,"humidity":44,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":62},"wind":{"speed":2.76,"deg":40,"gust":4.53},"visibility":10000,"pop":0.29,"rain":{"3h":0.3},"sys":{"pod":"d"},"dt_txt":"2023-08-22 15:00:00"},{"dt":1692727200,"main":{"temp":18.69,"feels_like":18.68,"temp_min":18.69,"temp_max":18.69,"pressure":1018,"sea_level":1018,"grnd_level":922,"humidity":79,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":55},"wind":{"speed":1.47,"deg":223,"gust":1.88},"visibility":10000,"pop":0.5,"rain":{"3h":0.86},"sys":{"pod":"n"},"dt_txt":"2023-08-22 18:00:00"},{"dt":1692738000,"main":{"temp":18.35,"feels_like":18.23,"temp_min":18.35,"temp_max":18.35,"pressure":1017,"sea_level":1017,"grnd_level":921,"humidity":76,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.24,"deg":6,"gust":1.59},"visibility":10000,"pop":0.08,"sys":{"pod":"n"},"dt_txt":"2023-08-22 21:00:00"},{"dt":1692748800,"main":{"temp":18.89,"feels_like":18.69,"temp_min":18.89,"temp_max":18.89,"pressure":1016,"sea_level":1016,"grnd_level":921,"humidity":71,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.35,"deg":62,"gust":1.95},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2023-08-23 00:00:00"},{"dt":1692759600,"main":{"temp":19.05,"feels_like":18.6,"temp_min":19.05,"temp_max":19.05,"pressure":1015,"sea_level":1015,"grnd_level":920,"humidity":61,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.24,"deg":52,"gust":1.45},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2023-08-23 03:00:00"},{"dt":1692770400,"main":{"temp":22.98,"feels_like":22.61,"temp_min":22.98,"temp_max":22.98,"pressure":1016,"sea_level":1016,"grnd_level":921,"humidity":49,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":8},"wind":{"speed":0.92,"deg":38,"gust":1.21},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-23 06:00:00"},{"dt":1692781200,"main":{"temp":30.98,"feels_like":29.32,"temp_min":30.98,"temp_max":30.98,"pressure":1015,"sea_level":1015,"grnd_level":923,"humidity":25,"temp_kf":0},"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"clouds":{"all":36},"wind":{"speed":1.7,"deg":49,"gust":3.2},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-23 09:00:00"},{"dt":1692792000,"main":{"temp":30.44,"feels_like":28.77,"temp_min":30.44,"temp_max":30.44,"pressure":1014,"sea_level":1014,"grnd_level":922,"humidity":24,"temp_kf":0},"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"clouds":{"all":36},"wind":{"speed":2.89,"deg":94,"gust":4.58},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2023-08-23 12:00:00"}],"city":{"id":3172134,"name":"Nusco","coord":{"lat":40.887,"lon":15.0883},"country":"IT","population":4420,"timezone":7200,"sunrise":1692331934,"sunset":1692381317}}

I think it's more convenient to use Label instead of TextBox.
The height of the first TextBox primog is wrong.

Thanks, it works. The only difficulty is that I can't extract the dates of the days of the forecast (2023-08-18........) and the icons, for example "02n" as much as numeric keys. How make them numeric in the block you created?

Thanks again for your availability

Notepad++ has a JSON Tree View Tool that can map out the tree of JSON text to help see the paths to the various pieces of the forecast:

Here are draggable value procedures and generic component lists to simplify the code .










MyMeteoXX (1).aia (108.7 KB)

Notice how dt_txt has date and time, and each item is some multiple of 3 hours apart from the next.

I leave that for you to think about.

1 Like

dates

icon

Very good, it works. I would hardly have gotten there on my own. I have to learn a lot, in this experience I learned a lot thanks to your skill and availability. Thanks again from the bottom of my heart

a small observation: if I look at the screenshot you can see that from the third line the values ​​of temp_mi and temp_max are equal. Is this a regular thing or is the json offered incorrect?. Thanks once again. Now as the forecasts have multiples of 3 hours, for each day I have to make 8 lines (data, temp_min, temp_max, image). Is there a quick way to load the entire json so that when you click the FORECAST button, all these multiples come out from first to last?

This would be a good opportunity for you to get the free Notepad++ utility, load your JSON, set the language to JSON, and browse the JSON Tree.

P.S. It is also a good opportunity to study the ListView component, which can mix images and text.

i have notepad++....check...thanks

I checked, the values of temp_max and temp_min are repeated ... what to think?

Ask openweathermap for your money back?