All device state in a single request API
Easiest way to read data with polling
Lefteris Chatzipetrou
Last Update 7 bulan yang lalu
In case your use case is simple enough that polling for device state every 5-15 minutes is enough, you can skip the real-time API and use our new HTTP API on the device servers directly.
The API will return the state of all the devices you have access to and are connected to the server in a single request.
You can get the device server by using the get_user_devices.php API. In case your devices are distributed among servers then you need to make one request per server, but usually that is not necessary.
