A LimeSurvey plugin to make API requests to external systems and inject the result to an interview
Change to LS plugins folder:
$ cd upload/plugins
Use git to clone into folder ExternalApiRequest
:
$ git clone https://github.com/TonisOrmisson/limesurvey-external-api-request.git ExternalApiRequest
Default settings can be overridden in survey settings.
The plugin is disabled by default for surveys.
Api request will be made on the plugin event 'beforeSurveyPage' and the API request result is
injected into LSYII_Application->configuration['ExternalApiPluginData']
The result may be used in twig survey templates via {{ getConfig("ExternalApiPluginData") }}