SudoSense

Revision as of 12:11, 23 January 2013 by 50.76.36.153 (talk) (Created page with "SudoSense is an API for collecting, viewing, distributing and parsing Sensory Data. ==API== ===get=== *url: /api/get/'''''sensorID''''' '''return''' { "method": "get", ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SudoSense is an API for collecting, viewing, distributing and parsing Sensory Data.

API

get

  • url: /api/get/sensorID

return

{
"method":   "get",
"sensorid": "sensorID",
"value":    "currentValue",
"unit":     "unit"
}

set

  • url: /api/set/sensorID

post

{
"value": "currentValue",
"key":   "secretKEY"
}

return

{
"method":   "set",
"sensorid": "sensorID",
"value":    "currentValue",
"unit":     "unit"
}