# Calling an API from Homey Script

**URL:** <https://community.homey.app/t/calling-an-api-from-homey-script/106230>\
**Category:** Questions & Help\
**Tags:** homey-pro\
**Created:** [March 14, 2024, 2:54am UTC](https://community.homey.app/t/calling-an-api-from-homey-script/106230 "2024-03-14T02:54:52Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Jonathan\_Draper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_draper/32/33978_2.png) [@Jonathan\_Draper](https://community.homey.app/u/Jonathan_Draper)\
**Post date:** [March 14, 2024, 12:41pm UTC](https://community.homey.app/t/calling-an-api-from-homey-script/106230/10 "2024-03-14T12:41:08Z")

</div>

> [@How to read and Set the logic variables with HomeyScript?](https://community.homey.app/t/how-to-read-and-set-the-logic-variables-with-homeyscript/14520):
>
> Hi, I am writing a script to set my screens on a certain percentage. Therefore I need to set/read the new 2.0 logic variables from Homey Script. Does anybody know how to do this? Kind regards, Marcel

---

_[View the full topic](https://community.homey.app/t/calling-an-api-from-homey-script/106230)._
