phrase glossary for night time icons?

  • 1
  • Question
  • Updated 2 years ago
  • (Edited)
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??
Photo of curiouscove

curiouscove

  • 6 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of curiouscove

curiouscove

  • 6 Posts
  • 0 Reply Likes
bumping this up
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 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
Photo of curiouscove

curiouscove

  • 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
Photo of curiouscove

curiouscove

  • 6 Posts
  • 0 Reply Likes
bump
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
We have an undocumented current conditions you can use with nt_ fixed for the night time icon.  /conditions_v11/ 
Photo of curiouscove

curiouscove

  • 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
Photo of curiouscove

curiouscove

  • 6 Posts
  • 0 Reply Likes
It works! Thanks.
Photo of Paul Reed

Paul Reed

  • 23 Posts
  • 7 Reply Likes
Brilliant! thanks Brendan.