Simple way to get device info from javascript


(Carl Swanson) #1

I’m teaching my son to code, and in our javascript “home automation summary” page I’d like to be able to use javascript to access our Smartthings Hub v1 and get some basic information back. Like the web link

https://graph.api.smartthings.com/device/show/#########

when you show the info from your device in the graph interface. Either a JSON object or whatever.

I’ve never done any smartthings API work before, so if you would please, whatever I need to short-path to success.

Thanks,

Carl