Skip to content

Returns the user's foodsharing calendar as iCal

GET
/api/calendar/{token}

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

token*
Typestring
Required
Pattern"[0-9a-f]+"

Query Parameters

formatting

How to format description texts.
One of alt (default), html or text

events

What events to include in the calendar.
One of every (default), invitations, maybe, accepted or none

pickups

Whether to include pickups in the calendar.

Typeboolean
history

Whether to include past entries (up to 2 weeks back) in the calendar.

Typeboolean
reminders

List of reminder times in minutes. These reminders are applied to each calendar event.

Typestring
Example"15,120"

Responses

Success.

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python