So, I went really really overboard this time. Need some sleep! Enjoy everyone. Would love some feedback!
See phpSpark - interacting with the Spark Cloud (spark.io) using PHP for reference
phpSpark Example Dashboard
A dashboard example using the phpSpark class
Repo can be found here
- GIT clone or download a zip of the repo and unzip into your project director
- Upload to your web server and visit using a web browser
Feel free to play around with the demo
Simply login with your access token (get it from http://spark.io/build)
Device List Page
On the devices page you can see all Spark devices associated with your access token
Device Info Page
On the device info page you can look at a particular device. Available information include known Spark Variables (values update if you refresh the page) and Spark Functions. Send parameters to those functions by filling in the parameter text box and pressing the “Submit” button
Successful Function Call
When you successfully submit a function call to the Spark Cloud you get a alert with the return value.