/conditions weather. What are the possible variables

  • 1
  • Question
  • Updated 6 months ago
Hey guys I am creating a small project to get the current weather. I have searched this forum and it has partially found the answers however I am not that good with json data. 
so my current string http://api.wunderground.com/api/yourkey/conditions/q/GB/mycity.json
returns the condtions field with everything in it. With in there, there is a field called ""weather":" then it gives clear, partly cloudy, rain etc. However I want to know all possible conditions of this. Looking at what I found on the forum has returned this https://www.wunderground.com/weather/api/d/docs?d=resources/phrase-glossary
however what I am confused about is on this page. what is the specific field "weather" returning. Is it the "Forecast Description Phrases" which only contains about 27 possibilities or is it "Current Condition Phrases"  which has about 70 different combinations with the "light/heavy rain" "light/heavy fog etc.. 

So in conclusion I just need to know whether the conditions/weather json is returning values for current conditions phrases or forecast description phrases. because this will drastically change my project depending which one it is. 
Photo of Edward

Edward

  • 5 Posts
  • 0 Reply Likes

Posted 6 months ago

  • 1
Photo of Edward

Edward

  • 5 Posts
  • 0 Reply Likes
anybody? at all?
Photo of Edward

Edward

  • 5 Posts
  • 0 Reply Likes
bueller bueller?
Photo of sriram kantipudi

sriram kantipudi

  • 3 Posts
  • 0 Reply Likes
Hello Edward,
replace the
"yourkey" in the below URL with valid API key so that it will work.

http://api.wunderground.com/api/yourkey/conditions/q/GB/mycity.json
Photo of sriram kantipudi

sriram kantipudi

  • 3 Posts
  • 0 Reply Likes
http://api.wunderground.com/api/YOURKEY/conditions/q/CA/hyderabad.json

try replacing YOURKEY with you API key which you have
Photo of sriram kantipudi

sriram kantipudi

  • 3 Posts
  • 0 Reply Likes
if you have any queries reach me out on +919492093332
Photo of Edward

Edward

  • 5 Posts
  • 0 Reply Likes
Thank you , that wasn't the question. Yes I know that I put my key there. I didn't put it there because then everyone can use it. My question still stands above.
Photo of Marcin Mrozowski

Marcin Mrozowski

  • 1 Post
  • 0 Reply Likes
got the same problem!

How long weather conditions can be?

Cannot find that in your API documentation 

current_observation >> estimated >> weather

Thanks in advance