How to get long period data with different scale?

Hello,
I would like to make some calculations on data.

I can’t find a way to get data from analog sensor.
I wold like to get data from one week with 1 minute scale.

Is it possible?

PS I hope Issue is best place to ask, but you can move this thread to other place which suits more for this subject :wink:

Hello,
what kind of device do you use?

I use web browser to get data from chart.

What kind of hardware device do you use? Cayenne have week tab in chart, but I don’t know how frequently and how many measurements are used to draw it:

I have found one way.
You can get Json data from URL
https://cayenne.mydevices.com/cayenne/api/history/get?end=1490111282&machine_id=xxxx-xxxxx-xxxxxxx-xxxxxxx&scale=minute&start=1489968000&type=yyyyyyyyyyyyyyyyyyyyyyyyyy

Is there a better way?
Or a way to get CSV right away?