This object is in archive! 

Can Zipabox retrive some data from an HTTP request?

Abdalrahman Hassanine shared this question 5 years ago
Need Answer

I have the following HTTP request:

when I put this url in the browser, the response has the following form:

  1. {
  2. "query": {
  3. "count": 1,
  4. "created": "2016-06-15T11:04:31Z",
  5. "lang": "en-US",
  6. "results": {
  7. "channel": {
  8. "item": {
  9. "condition": {
  10. "code": "29",
  11. "date": "Wed, 15 Jun 2016 03:00 AM PDT",
  12. "temp": "63",
  13. "text": "Partly Cloudy"
  14. }
  15. }
  16. }
  17. }
  18. }
  19. }

the response contains some data about the weather there. Can I use the HTTP Request block to retrive some data from this response and put it in virtual meter?

for example, I need to get the value of the tempreture ("temp")

Comments (3)


Any answer ?


I think only zipato can answer this question.


I don t think that it will work. As the response is json you would need to parse it. And without the posibity to code in Zipabox I don't know how this should work.

You could run the request via a cron job on a server. Parse the response and send the values to the Zipabox.