Demonstration of how to write APIs that communicate with SmartThings