Get cumulative analytics
Query Parameters
stringdate
The start date of the custom date range. Defaults to 30 days ago if not specified.
stringdate
The to (inclusive) date of the custom date range. Defaults to the current date if not specified.
Returns
An array of analytics by bundle objects.
curl 'https://api.lune.co/v1/analytics/cumulative-per-bundle' \
-H 'Authorization: Bearer <API_KEY>'
[
{
"bundle_id": "va1BEV2VZqnzPkYxJgALg0GeQDoXlWO5",
"bundle_name": "Latin America Forestry",
"timeseries": [
[
{
"date": "2022-06-25",
"value": "13.20",
"quantity": "503.342"
},
{
"date": "2022-06-26",
"value": "23.20",
"quantity": "1503.342"
},
{
"date": "2022-06-27",
"value": "64.23",
"quantity": "4700.451"
}
]
]
}
]