# Calling an external service and receiving the Response in a variable?

**URL:** <https://community.homey.app/t/calling-an-external-service-and-receiving-the-response-in-a-variable/12445>\
**Category:** Developers\
**Tags:** app, tools\
**Created:** [April 29, 2019, 4:36pm UTC](https://community.homey.app/t/calling-an-external-service-and-receiving-the-response-in-a-variable/12445 "2019-04-29T16:36:27Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [July 29, 2019, 12:24pm UTC](https://community.homey.app/t/calling-an-external-service-and-receiving-the-response-in-a-variable/12445/15 "2019-07-29T12:24:47Z")

</div>

Hi @Erik,  
The flows you published are very nice. I have about the same question, but…

I have a jsonfile where I get an hourly weather forecast. How can I get the data for example for 4 O’Clock instead off 3 O’Clock?

{“plaatsnaam”:[{“plaats”:“Utrecht”}],“data”:[{“tijd”:“1564405200”,“tijd\_nl”:“29-07-2019 15:00”,“offset”:“07”,“loc”:“none”,“temp”:“26”,“winds”:“2”,“windb”:“2”,“windknp”:“4”,“windkmh”:“7.2”,“windr”:“190”,“windrltr”:“Z”,“neersl”:“0”,“luchtd”:“1011”,“luchtdmmhg”:“758”,“luchtdinhg”:“29.84”,“hw”:“0”,“mw”:“0”,“lw”:“29”,“tw”:“29”,“rv”:“41”,“gr”:“155”,“cape”:“281.10”,“cond”:“3”,“ico”:“3”,“samenv”:“Halfbewolkt”,“icoon”:“halfbewolkt”},{“tijd”:“1564408800”,“tijd\_nl”:“29-07-2019 16:00”,“offset”:“08”,“loc”:“none”,“temp”:“27”,“winds”:“2”,“windb”:“2”,“windknp”:“4”,“windkmh”:“7.2”,“windr”:“191”,“windrltr”:“Z”,“neersl”:“0”,“luchtd”:“1011”,“luchtdmmhg”:“758.2”,“luchtdinhg”:“29.85”,“hw”:“0”,“mw”:“0”,“lw”:“35”,“tw”:“35”,“rv”:“39”,“gr”:“176”,“cape”:“281.29”,“cond”:“3”,“ico”:“3”,“samenv”:“Halfbewolkt”,“icoon”:“halfbewolkt”},

---

_[View the full topic](https://community.homey.app/t/calling-an-external-service-and-receiving-the-response-in-a-variable/12445)._
