# Connect any API as a virtual device

**URL:** <https://community.homey.app/t/connect-any-api-as-a-virtual-device/62013>\
**Category:** Questions & Help\
**Created:** [March 23, 2022, 11:46pm UTC](https://community.homey.app/t/connect-any-api-as-a-virtual-device/62013 "2022-03-23T23:46:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 24, 2022, 6:55pm UTC](https://community.homey.app/t/connect-any-api-as-a-virtual-device/62013/4 "2022-03-24T18:55:24Z")

</div>

I think you might like these topics, Ulf.

> [@Setting up simple GET request and storing value as numeric logic object](https://community.homey.app/t/setting-up-simple-get-request-and-storing-value-as-numeric-logic-object/48614):
>
> Hi everyone. Hope someone more familiar with GET requests can help me out here, as I’m new to the syntax required to setup GET responses. I’m trying to setup a logic GET-request in one of my flows in order to periodically collect data on currency exchange rate USD\_NOK. I’ve found several websites that offer free API’s for this. As an example: [https://free.currconv.com/api/v7/convert?q=USD\_NOK&compact=ultra&apiKey=ab47037514ac4157626c](https://free.currconv.com/api/v7/convert?q=USD_NOK&compact=ultra&apiKey=ab47037514ac4157626c) This url returns a simple response like the example below: {…

> [@Weatherdata in variables (openweather and meteoserver) with Homeyscript](https://community.homey.app/t/weatherdata-in-variables-openweather-and-meteoserver-with-homeyscript/36890):
>
> When making a api call for weather data I experienced that I had to make many flows to get the weatherdata for the upcoming 24 hours. 24 flows for a call every hour and 24 flows for processing the json data. And this is only for 1 forecast e.g rain. Therefore I made a little script to get the weatherdata from openweather and meteoserver. Special thx to @robertklep for his great help. Just make 1 flow running this script with Homeyscript. Run it e.g every hour. Do not exceed your maximum of api …

---

_[View the full topic](https://community.homey.app/t/connect-any-api-as-a-virtual-device/62013)._
