IOStash API makes it easy for your devices, applications and services to read and write data to IOStash and through IOStash to each other. IOStash supports reading and writing data via three resources: Channels, Devices and Datapoints. A channel is a collection of devices while a device consists datapoints. A datapoint is the most granular unit of the IOStash data hierarchy. A datapoint is essentially a value that your device will be pushing. For example, consider a connected temperature-humidity sensor. The device will be pushing two values - temperature and humidity. In IOStash, we can define two datapoints 'temperature' & 'humidity' and push data to them. In the next section, you'll learn how to create a device from the IOStash dashboard.
The above example reads an LM35 temperature connected to the A0 PIN of the ESP8266 and sends the data to IOStash every 3 seconds. If you go to the dashboard of this device, you'll see realtime updates as they are received at the platform.
Data currently pushed are being saved to IOStash. You can analyse and retrieve this data at any time from the dashboard.