# onPairListDevices, TypeScript and SDK3

**URL:** <https://community.homey.app/t/onpairlistdevices-typescript-and-sdk3/76754>\
**Category:** Developers\
**Tags:** homey-pro\
**Created:** [February 22, 2023, 3:59pm UTC](https://community.homey.app/t/onpairlistdevices-typescript-and-sdk3/76754 "2023-02-22T15:59:47Z")\
**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:** [February 23, 2023, 1:36am UTC](https://community.homey.app/t/onpairlistdevices-typescript-and-sdk3/76754/4 "2023-02-23T01:36:19Z")

</div>

> [@ats](#):
>
> or has a wodking example, calling an external API.

Marcel has a nice example (imho):

> [@How update variable using API](https://community.homey.app/t/how-update-variable-using-api/76496/2):
>
> Here some links that will help [Link1](https://community.homey.app/t/weatherdata-in-variables-openweather-and-meteoserver-with-homeyscript/36890)
> 
> [Link2](https://community.homey.app/t/homeyscript-retrieving-json-weatherdata-with-continue-and-async-function-gives-a-perpetual-loop/36706)

---

_[View the full topic](https://community.homey.app/t/onpairlistdevices-typescript-and-sdk3/76754)._
