Skip to content

Returns the gender distribution from a region.

GET
/api/statistics/regions/{regionId}/gender

If home region is set only the home region of foodsavers from this regionId are considered.

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

regionId*
Typestring
Required
Pattern"\\d+"

Query Parameters

homeRegion

result limit to home region

Typestring
Defaultfalse
Pattern"true|false"

Responses

Successful

application/json
JSON
[
{
"gender": 0,
"numberOfGender": 0
}
]

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python