Read API

There are many types of reads possible based on the type of data.

Read Device Value from IoT Device

GET http://app.openioe.in/api/showdevicevalue

Format: http://app.openioe.in/api/showdevicevalue/<APIKey>/<DeviceID>/<DevicePIN>

Path Parameters

NameTypeDescription

<DevicePin>*

Integer

e.g.,: 957

<DeviceID>*

Integer

e.g.,: 25

<APIKey>*

String

e.g.,: pnHEmHgjFl0PT247Eae9

Read API:

http://app.gnanodaya.org/openioe/api/showdevicevalue/pnHEmHgjFl0PT247Eae9/25/957

Response:

29.70

Read Device JSON from IoT Device

GET http://app.openioe.in/api/showdevicejson

Format: http://app.openioe.in/api/showdevicejson/<APIKey>/<DeviceID>/<DevicePIN>

Path Parameters

NameTypeDescription

<DevicePin>*

Integer

e.g.,: 634

<DeviceID>*

Integer

e.g.,: 28

<APIKey>*

String

e.g.,: pnHEmHgjFl0PT247Eae9

Read API:

http://app.gnanodaya.org/openioe/api/showdevicejson/pnHEmHgjFl0PT247Eae9/28/634 

Response:

{}

Read Device XML from IoT Device

GET http://app.openioe.in/api/showdevicexml

Format: http://app.openioe.in/api/showdevicexml/<APIKey>/<DeviceID>/<DevicePIN>

Path Parameters

NameTypeDescription

<APIKey>*

String

e.g.,: pnHEmHgjFl0PT247Eae9

<DeviceID>*

Integer

e.g.,: 25

<DevicePin>*

Integer

e.g.,: 957

Read API:

http://app.gnanodaya.org/openioe/api/showdevicxml/pnHEmHgjFl0PT247Eae9/25/957

Response:

<data>29.70</data>

Last updated