Problem with PWS link

  • 1
  • Problem
  • Updated 2 years ago
When I use this link I get an Error returned. Any thoughts on what im doing wrong?
http://api.wunderground.com/api/XXXXXXXXXXXXXXX/conditions/pws/pws:KFLFORTP11/KFLFORTP11.json

here is what i get back 
"error": {
		"type": "invalidquery"
		,"description": "you must supply a location query"
	}
Photo of Bert Bernardo

Bert Bernardo

  • 2 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of James Anding

James Anding

  • 2 Posts
  • 1 Reply Like

You are not using the correct format for the API.
Here is what you need to send.

http://api.wunderground.com/api/"KEY"/conditions/q/pws:KFLFORTP11.json

That should work for you.



Photo of Bert Bernardo

Bert Bernardo

  • 2 Posts
  • 0 Reply Likes
Thanks! Works perfect!