質問

I have been trying to create an application using Cosm's XML feed, and I would like to know if (and how) it is possible to retrieve a XML between a specified limit of time (for example, to a CO sensor, a dataset containing the data of 30 days divided by days).

Just to facilitate, the feed I have been trying to use is: https://cosm.com/feeds/115590.

Thank you.

役に立ちましたか?

解決

According to the docs you can specify the start and end or a duration and get back a sampling of the data:

http://cosm.com/docs/v2/history.html

e.g. https://api.cosm.com/v2/feeds/115590?duration=1hour&interval=0

will give you the raw data for the last hour

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top