Skip to content

Returns cached information of foodsharing donation-goal via third service provider twingle.

GET
/api/donation-goal

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Responses

Success

application/json
JSON
{
"donators": 42,
"receivedDonationsInEuros": 1337,
"goalInEuros": 2000,
"percentOfGoalReached": 66.85,
"isGoalReached": false,
"updatedAt": "string"
}

Playground

Authorization

Samples

cURL
JavaScript
PHP
Python