#55 TUYA API EXAMPLE USE
Tuya Smart is a China-based IoT provider. Tuya Smart provides all kinds of smart home gadgets and gizmos. A cloud support plat form exists as well as an app for Android and an app for IOS.
Here I have an example of the cloud API which can be queried from any device that has internet. The variables are passed as headers in each request.
PHP EXAMPLE:
JavaScript jQuery EXAMPLE: