request hourly forecast from PWS

  • 1
  • Question
  • Updated 8 months ago
Hi! I am wondering if it is possible to receive hourly forecast information called from a specific PWS rather than a city? 

Thanks!
Becca
Photo of Becca Hammersla

Becca Hammersla

  • 2 Posts
  • 0 Reply Likes

Posted 8 months ago

  • 1
Photo of Ingemar Skarpås

Ingemar Skarpås

  • 3 Posts
  • 0 Reply Likes
if you know the name of the station you ́re interested in prefix that with "pws:" like this:
http://api.wunderground.com/api/YOUR_KEY/conditions/forecast/q/pws:INGERMAN2.json
However, to get it each hour "automatically", you need to make a program in a language you know, and have either triggers that make it start every hour, or have the programming running at all times or have it wait for 3600 seconds or so... 
Photo of Ingemar Skarpås

Ingemar Skarpås

  • 3 Posts
  • 0 Reply Likes
Sorry - you do not need the /conditions/ part of the call to the API!