IoT Platform API for Web and Mobile Apps