Moved the documentation to github
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"eventName": "emoncms", | |
"url": "https://emoncms.org/input/post.json", | |
"requestType": "GET", | |
"query": { | |
"apikey": "<YOUR API KEY>", | |
"json": "{{SPARK_EVENT_NAME}}:{{SPARK_EVENT_VALUE}}" | |
}, | |
"noDefaults": true, | |
"mydevices": true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"event": "ubidots", | |
"url": | |
"http://things.ubidots.com/api/v1.6/variables/<VariableID>/values", | |
"headers": { | |
"X-Auth-Token": "<YOUR TOKEN>" | |
}, | |
"requestType": "POST", | |
"mydevices": true, | |
"json": |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public async Task<ParticleFunctionReturn> CallParticleFunction(ParticleFunction pFunc) | |
{ | |
ParticleFunctionReturn pfRet = new ParticleFunctionReturn(); | |
try | |
{ | |
Uri uri = new Uri(string.Format(baseUrl, pFunc.DeviceId, pFunc.FuncName)); | |
Uri pfuri = new Uri(string.Format(baseUrl, pFunc.DeviceId, pFunc.FuncName)); |