Hej, mam problem z pobraniem danych z API.
Pobieram te dane:
"Country": "Poland",
"Temperature": {
"Metric": {
"Value": 11.6,
....
fetch(api)
.then(response => {
return response.json();
})
.then(data => {
const LocalizedName = data.Country;
});
Nie wiem jak mogę pobrać wartość z pola Value, które znajduje się w "Metric", z góry dziękuję za wszelkie rady :)