API response when PWS is offline

  • 1
  • Question
  • Updated 1 year ago
I am having a difficult time figuring out how the API responses are structured in the event that that a (specifically requested) PWS is offline. It seems that the following response is generated with an improperly formatted request:

  "response": {
  "features": {
  "conditions": 1
	"error": {
		"type": "Station:OFFLINE"

However, a PWS that is actually offline (example: KCASANJO236 https://www.wunderground.com/personal-weather-station/dashboard?ID=KCASANJO236) which last updated 250+ days ago reports null INT values (but non-null STR values) with an 'observation_time' that matches the API request time.

Shouldn't the station either report:
  • It is offline
  • The last updated values at the last updated observation time
  • All null values at the current observation time
Thanks for the clarification as well as the generous platform to build from!
Photo of seemaze


  • 1 Post
  • 0 Reply Likes

Posted 1 year ago

  • 1

Be the first to post a reply!