I am trying to use streaming API from opensensors (https://api.opensensors.io/). They provide messages with API key for authentication. As a client at opensensors, I can only subscribe to messages.
If I want to use tiles with streaming datasets and chart "converted-value" vs. "date", is that possible from the Power BI service end (without creating a push app)?
Here's a curl sample provided:
curl -X GET --header "Accept: application/json" --header "Authorization: api-key 428************2c4" "https://api.opensensors.io/v1/messages/topic/%2Forgs%2Fwd%2Faqe%2Fparticulate%2Fegg008******2?start-date=2016-11-28T14%3A28%3A56.583Z"
Request URL:
sample response:
{
"messages": [
{
"device": "egg008***********2",
"owner": "wickeddevice",
"topic": "/orgs/wd/aqe/particulate/egg008*************2",
"date": "2016-11-28T14:35:04.723Z",
"payload": {
"encoding": "utf-8",
"content-type": "application/json",
"text": "{\"serial-number\":\"egg008***********2\",\"raw-value\":0.43971,\"raw-instant-value\":0.39185,\"raw-units\":\"volt\",\"converted-value\":5.30,\"converted-units\":\"ug/m^3\",\"compensated-value\":5.30,\"cal_offset\":0.04974,\"sensor-part-number\":\"PPD60PV-T2\",\"history\":{\"timebase\":5000, \"samples\":[0.38757,0.33447,0.50232,0.40588,0.38147,0.61584,0.64636,0.48157,0.44128,0.31677,0.37109,0.39185]}}"
}
}
],
"next": "/v1/messages/topic//orgs/wd/aqe/particulate/egg008*********2?start-date=2016-11-28T15%3A19%3A51.755Z"
}