Is there away to display just the Yahoo weather icon above on a webpage? I'm using geektool on my Mac and it can be displayed on my desktop but I'm wondering if it is possible to just have that icon in a webapge??? ANy ideas :)
Asked
Active
Viewed 1.4k times
2
-
https://stackoverflow.com/questions/51617912/yahoo-weather-api-json-icon – Ylama Aug 01 '18 at 10:43
3 Answers
5
Have you tried http://l.yimg.com/a/i/us/we/52/XX.gif
where XX is your status code returned from the API?

Ruslan Abuzant
- 631
- 6
- 17
3
Yes. The response of Yahoo Weather API contains an image that denotes the weather.
The path to the current weather image is channel > item > description > img
(inside CDATA)
View the below responses in Firefox and then you can see those icons for yourself.
- New York City - http://weather.yahooapis.com/forecastrss?w=2459115
- Paris, France - http://weather.yahooapis.com/forecastrss?w=615702

naveen
- 53,448
- 46
- 161
- 251
-
Do the icons update live though? The point of it is is that I don't want to embed a yahoo widget but just the icon... – Lenny Magico Mar 25 '11 at 16:43
2
I had anothet good look around and finaly found what I was looking for, this was exactly what I needed;
http://blog.unijimpe.net/reporte-del-clima-en-php/
The website is spanish but figured most of it out wiht google translator ;)

Lenny Magico
- 1,183
- 5
- 16
- 28