I see the phrase glossary in resources that list all the icons for weather during the day. But I'm not seeing anything for night. Underground weather has their own icon sets for night and I'm wondering which phrase term should I use for night time in order to use my own icons.
It's currently 9pm and "clear" is giving me a sun. Is there a term for a clear night and all other terms related to night if any??
It's currently 9pm and "clear" is giving me a sun. Is there a term for a clear night and all other terms related to night if any??
- 6 Posts
- 0 Reply Likes
Posted 5 years ago
Brendan Hayes, Official Rep
- 962 Posts
- 124 Reply Likes
Night time icons start with nt_ You can see some night time icons in the Icon Gallery http://www.wunderground.com/weather/api/d/docs?d=resources/icon-sets
- 6 Posts
- 0 Reply Likes
I tried nt_clear last night and was still getting a sun that is listed under icon:clear.
Here's the path I'm using data.current_observation.icon which gives the phrase "clear" during the night.
is there another way I should be accessing this?
I'm new to web development and using this as a way to learn.
Thanks
Here's the path I'm using data.current_observation.icon which gives the phrase "clear" during the night.
is there another way I should be accessing this?
I'm new to web development and using this as a way to learn.
Thanks
Brendan Hayes, Official Rep
- 962 Posts
- 124 Reply Likes
We have an undocumented current conditions you can use with nt_ fixed for the night time icon. /conditions_v11/
- 6 Posts
- 0 Reply Likes
Interesting. I'm adding this to the request URL correct? And with this I can use nt_clear, nt_partlycloudy ect, with my own icons?
I'll try it tonight and see hoe it works out.
Thanks
I'll try it tonight and see hoe it works out.
Thanks