APIs bridge the gap between Internet of Things data and the cloud