According the the Yahoo API over at https://developer.yahoo.com/weather/documentation.html#json-example, you don’t.
You are supposed to use your own icons based on the text
value inside forecasts
.
ex:
{
"forecasts":[
{
"day":"Tue",
"date":1546934400,
"low":52,
"high":61,
"text":"Rain", // Take this value, and use your own image based on it.
"code":12
}
]
}
4
solved How can I get weather icon from Yahoo API JSON?