Longer station codes and the API

  • 1
  • Question
  • Updated 6 years ago
I am trying to access weather history for a station with a code KWALYNDE1. If I use the wunderground site, I can get info back. But if I use the api for a date range, it tells me the code can not be found. How do I fix this?
Photo of chriscortez

chriscortez

  • 2 Posts
  • 0 Reply Likes
  • confused

Posted 6 years ago

  • 1
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
Use the qualifier pws in the URL like this:
http://api.wunderground.com/api/Your_...
Photo of chriscortez

chriscortez

  • 2 Posts
  • 0 Reply Likes
Thanks Brendan, But even using your example(with the date altered to 11/5/2012) still returns a :
"type": "keynotfound"
,"description": "this key does not exist"

While that same code returns data through the website.