how to get the state data of multiple devices and loop on table PHP

Hi, is there a way to get the state data of multiple devices and loop it on a table using php? thanks

Hey I saw that you liked a post in here: rest api: sending a message with an array of deviceids in php using curl
Was that enough to answer the question? Note that our API docs do provide some example PHP code for making requests.