This object is in archive! 
Can Zipabox retrive some data from an HTTP request?
Need Answer
I have the following HTTP request:
when I put this url in the browser, the response has the following form:
- {
- "query": {
- "count": 1,
- "created": "2016-06-15T11:04:31Z",
- "lang": "en-US",
- "results": {
- "channel": {
- "item": {
- "condition": {
- "code": "29",
- "date": "Wed, 15 Jun 2016 03:00 AM PDT",
- "temp": "63",
- "text": "Partly Cloudy"
- }
- }
- }
- }
- }
- }
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")
No connection
Real-time notifications may not work
Any answer ?
Any answer ?
I think only zipato can answer this question.
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.
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.
Replies have been locked on this page!