Undefined Data when trying to get astrology data

  • 1
  • Problem
  • Updated 4 years ago
I'm trying to gather the sunrise and sunset times however when ever I run the web hook it returns undefined data and I'm not sure what I'm doing wrong. I was able to create a webhook to get the weather forecast (date and temps) without an issue. I'm not sure if I need to define the data types when trying to get astrology data. I am using Json.


That is the webhook that was generated.

That is my actual code.

I am using the particle libraries and their photon device.

Photo of Logan


  • 1 Post
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of Ravi Yadav

Ravi Yadav

  • 82 Posts
  • 9 Reply Likes

Weather Underground API doesn't support webhooks. You would have to make a request and then parse the response.