What should the query string be for weather data in Montreal?

  • 1
  • Question
  • Updated 4 years ago
  • Answered
I use the following url to request data for the weather conditions in Montreal:

http://api.wunderground.com/api/90997...

However, the response returns data from a weather station that doesn't report precipitation. The following URL is the station's weather history.

http://www.wunderground.com/history/a...

What is the URL I should be obtain rainfall in Montreal? How do I obtain data from the following weather station?

http://www.wunderground.com/personal-...
Photo of geoffl

geoffl

  • 11 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of Tim Roche

Tim Roche, Official Rep

  • 304 Posts
  • 26 Reply Likes
Hi, 
you can call PWS ids directly for any location based request
http://api.wunderground.com/api/909975a2e950aaf6/conditions/q/PWS:IQUEBECM34.json
Photo of geoffl

geoffl

  • 11 Posts
  • 0 Reply Likes
Ok, perfect. Thanks.