Current Conditions no longer includes ICON or alternative (New API)

  • 3
  • Question
  • Updated 5 months ago
I got the my new API key and was able to quickly change my software to grab data from the new Conditions response. However in doing so I see that the "icon" data from the previous version of the API is no longer included in the response (per the new API docs as well as query results). I also see no way to infer an icon from the data that is provided in the Conditions response.  This is a really important part of the current conditions.

E.g. right now via the old API the icon response indicates "fog" which is precisely the case. This is also the field that informs me there are thunderstorms or etc. 

Is this intentional? Is there an alternative? I looked through the new API responses and couldn't find one. For my needs this is a major gap and one I find a bit baffling since icon data is provided on the forecasts.
Photo of Ron

Ron

  • 14 Posts
  • 0 Reply Likes

Posted 7 months ago

  • 3
Photo of Victoria Gardner

Victoria Gardner, Official Rep

  • 642 Posts
  • 91 Reply Likes
Is this what you're looking for, Ron?

iconCode

This number is the key to the weather icon lookup. The data field shows the icon number that is matched to represent the observed weather conditions.

iconCodeExtend

Code representing full set sensible weather

They're in the Daily Forecast.

--Victoria
victoria.gardner@ibm.com
Photo of joegr

joegr

  • 22 Posts
  • 9 Reply Likes
I second this request.
Photo of John KUBIATOWICZ

John KUBIATOWICZ

  • 9 Posts
  • 1 Reply Like
I third this request!  A current conditions icon for a given local (i.e. a city or even the site of the weatherstation) would be great.  Unlike Ron, I'd love to have a short descriptor of current conditions in the form of wxPhraseLong to include with the icon.
Photo of elee

elee

  • 11 Posts
  • 1 Reply Like
I am a programmer of a personal application for mobile that worked very well for me for more than 6 years. Everything was based on the old WU API.
Now ... it does not work anymore. Every time I try to repair something to work with the new API, I realize that more and more and more are missing.
It is something not to believe. How were they to remove the previous API if they were not ready yet? What happened?
It seems that the people who made the decisions never thought of the users that we are the ones who actually feed the data. What trash I am extremely disappointed.
Photo of Victoria Gardner

Victoria Gardner, Official Rep

  • 642 Posts
  • 91 Reply Likes
The new PWS API was never intended to be a full replacement for the old WU API.  

If you would like more information on subscription to the more complete API from The Weather Company, fill out the form at http://biz.weather.com/WU-Data-API_Data-Package-Demo-Request.html, and a sales representative will be in touch.  They can help determine which is the best package for you.

Victoria Gardner
victoria.gardner@ibm.com
Photo of Victoria Gardner

Victoria Gardner, Official Rep

  • 642 Posts
  • 91 Reply Likes
Just to make sure the link is accessible, here are the icons and their codes: https://docs.google.com/document/d/1dNCf6nF6cjm4oOxQxjtqNuAvG_iEe5f9MQH1xlCeV4s/edit

--Victoria
Photo of Victoria Gardner

Victoria Gardner, Official Rep

  • 642 Posts
  • 91 Reply Likes
Keep in mind that switching APIs might be something like switching languages:  sometimes you just can't say things the way you're used to anymore.  Some ideas just come out differently when I speak Russian or Uzbek.  Or R.

--Victoria
(Edited)
Photo of elee

elee

  • 11 Posts
  • 1 Reply Like
Hi Victoria,
You are right, maybe I have not been able to find the way.
You can indicate to me how I can obtain the current conditions of the sky (Party cloudy, clear, rain, fog, etc) by means of a request according to my geolocated position (Coordinates of Altitude and length). For the coordinates do not worry I get them through GPS and I automatically add them to the API request link.
If I can do this with the new API, in whatever form, regardless of whether it is more complex, I would be the happiest man.
Your help please.
Photo of Victoria Gardner

Victoria Gardner, Official Rep

  • 642 Posts
  • 91 Reply Likes
Elee, what you're asking me is like saying, Victoria, how do I form a sentence with a subject, verb, and object in English?  When what I need to know is, what are you trying to say?

For what purpose are you trying to post this?  Why not just provide a link to Wunderground?  I'm missing the rationale for re-inventing the wheel, so to speak.

When I put my programmer hat on, it's to fill a need, create a solution.  An abstraction has way too many possible solutions.

--Victoria
Photo of Barry Gordon

Barry Gordon

  • 8 Posts
  • 1 Reply Like
I agree with all of the comments regarding the inclusion of the icon code in the current conditions response.  If one brings up the wunderground com page for their account, it shows a weather icon for their neighborhood. So why not include the icon code in the current conditions as it must be available.  I would like to see a set of long and short narratives in arrays indexed by the icon code
Photo of elee

elee

  • 11 Posts
  • 1 Reply Like
(Edited)