Returns the age band distribution from a region.
GET
/api/statistics
Authorizations
api_key
Requests manipulating data need to supply a CSRF token
TypeAPI Key (header: X-CSRF-Token)
Responses
Successful
application/json
JSON
{
"generalStatistic": {
"fetchWeight": 0,
"fetchCount": 0,
"cooperationsCount": 0,
"botCount": 0,
"foodsaverCount": 0,
"fairteilerCount": 0,
"totalBaskets": 0,
"avgWeeklyBaskets": 0,
"countAllFoodsaver": 0,
"countActiveFoodSharePoints": 0,
"avgDailyFetchCount": 0
},
"regionsActivity": {
"pickupOverAllTime": [
{
"name": "string",
"fetchWeight": 0,
"fetchCount": 0
}
],
"pickupInDefinedPeriod": [
{
"name": "string",
"fetchCount": 0
}
],
"pickupCurrentMonth": [
{
"name": "string",
"fetchCount": 0
}
]
}
}