The Citizen Space API is designed to allow simple integration with other frameworks. Currently the API supports searching and viewing of published activities.
Getting Started
The current version of the API provides read-only access to publicly visible data. This means that no authentication is required as the access level is the same as a public visitor to the site. To get started, all you need to know is the URL of the Citizen Space site that you want to interact with. In this guide we will be talking to our demo site, which lives at https://demo.citizenspace.com, but any Citizen Space site can be used.
Methods should be called via HTTPS GET requests, using the following format:
will return a JSON-encoded list of search results where the title or overview contain the phrase "Arlen Hill" (case-insensitive) and the activity is Open (ie its start date has passed and its end date has not yet been reached).
The fields of the returned JSON structure are detailed in the API Reference.
Server-side integration
This is the preferred method of integration with the Citizen Space API. Caching of results is permitted.