A couple weeks ago I wrote a post on Notion’s blog about APIs for the Internet of Things – specifically, three major points I’m thinking about a lot as we design the API, iterate on it, and plan for scaling.
Reliability: IoT devices are part of our daily life and we rely on them for more than watching youtube or getting our work done. APIs handling IoT information should be reliable – redundant, persistent, and well-logged.
Real-time: We tend to care about events from our devices when they happen, not thirty minutes later. At Notion, we’re implementing webhooks for real-time connectivity, but you could also use WebSockets to augment your API functionality.
Integration-ready: Connected devices are even more useful when they’re connected to each other and to other programs or apps we use. Their APIs need to be built with integration in mind, to make this process easier and faster.
Read more in the whole post! http://notion.is/blog/2015/02/11/apis-for-iot-what-matters/