Calendar technical info
You can freely use data from this calendar in your application by calling this endpoint:
https://calendar.stoprearm.org/js/events.php
The response, an array in JSON format, includes data about approved events only.
The timezone is Central European Time
Query string parameters
All parameters are optional
- start
- start date, in format "dd-mm-yyyyy". Defaults to today.
- days
- number of days. Defaults to 14 (2 weeks), maximum 90.
- end
- end date (inclusive), in format "dd-mm-yyyyy". Defaults to days after start date.
Examples
- /js/events.php
- events for the next 2 weeks
- /js/events.php?days=2
- events for today and tomorrow
- /js/events.php?start=01-05-2024&days=7
- events from 1st May 2024, for 1 week
- /js/events.php?start=18-05-2024&end=22-05-2024
- events between 18th and 22nd May 2024, included
Response
Events data include public fields only. Here is a list of most relevant fields
- when
- start
- start date and time (yyyy-MM-ddTHH:mm)
- start_day
- start date (yyyy-MM-dd)
- start_date
- localised start date
- start_time
- localised start time
- start_date_ts
- start date and time as UNIX Timestamp
- length
- duration in hours
- all_day
- whether it's an all-day event ("1", otherwise "0")
- end
- end date and time (yyyy-MM-ddTHH:mm)
- what
- url
- URL of the event
- type
- event type
- title
- title
- description
- description (in HTML)
- is_online
- whether the event is virtual ("1", otherwise "0")
- link
- URL for more information
- who
- contact_name
- Organiser
- Organiser's email
- where
- address
- location address
- place
- location (town)
- place_details
- location details
- geo_name
- country
- latitude
- latitude
- longitude
- longitude
- openstreetmap
- URL to OpenStreetMap
- gmaps
- URL to Google Maps
- image (optional)
- has_image
- whether an associated image is available ("1", otherwise "0")
- thumb
- image thumbnail
- image
- image
- large
- large image
- export
- export
- Link to export event as iCal
- export_webcal
- Link to export event as webcal (Apple, Microsoft)
- export_google
- Link to export event for Google Calendar
Cache
The response is cached with a TTL of 5 minutes. Please use this endpoint responsibly